search typeahead fixes and requirejs

Fixes https://github.com/inspirehep/inspire-next/issues/70
Adds requirejs support.
Tested with ASSETS_DEBUG = False and True