Mirror change of componentjs/require#12
Change require.register signature. Closes gh-30.
Change signature in tests.
@visionmedia I think builder is now broken because this wasn’t merged and component-require was updated with new signature
oh damn I forgot there was a PR for this I did it manually