authInterceptor redirects to /login on 403 (but with beta redirects, does the right thing too)

Conflicts:
	app/assets/javascripts/app.js
add/remove repeater sets dirty form
revising agreement page of wizard
materials edit begun
Merge branch 'excerpts' of https://github.com/databrary/databrary into excerpts
Switch AssetFormat to fixed, loaded set; expose ids to api

Rather than caching, load all formats from the database at start time
and use this fixed list.  Add formats to /api/constants and switch asset
json format fields to ids.
added reusable stuff
Merge branch 'excerpts' of https://github.com/databrary/databrary into excerpts
Use exposed formats in constants; add typeService.assetFormat
missing ;
Merge branch 'excerpts' of https://github.com/databrary/databrary into excerpts
Shrunk 'sign agreement' portion of register wizard to one page. Fixes #1130
idle directive to do something after a user has stopped changing input (only current case)
stop overriding wizard callbacks
access grant and search boilerplate
removed unnecessary entry in conf/messages
move non-service stuff from pageService to displayService
supercharge pageService and make it more maintainable.
working pageService optimization
page-ify routes and controllers