Prefix URL paths with APPLICATION_ROOT if set
Fix ds.uri()
Merge branch 'master' of github.com:urbanairship/tessera into issue-250-application-root
Merge branch 'master' of github.com:urbanairship/tessera into issue-250-application-root
Merge branch 'master' of github.com:urbanairship/tessera into issue-250-application-root
Merge branch 'master' of github.com:urbanairship/tessera into issue-250-application-root

Conflicts:
	js/app/manager.js
	tessera/templates/index.html
	tessera/views.py
Merge branch 'master' of github.com:urbanairship/tessera into issue-250-application-root

Conflicts:
	js/extensions/clusto.js
Merge fix
Merge branch 'master' of github.com:urbanairship/tessera into issue-250-application-root
Cleanup old junk
Cleanup
Remove test APPLICATION_ROOT value
Merge branch 'master' of github.com:urbanairship/tessera into issue-250-application-root
Use `url_for()` to get proper hrefs to Flask routes
use `url_for` for all API URLs in embedded javascript

No need to compute the right URL in the browser when we know it at
template expansion time
Set up middleware dispatcher if app root is set

`DispatcherMiddleware` is the magic that makes `url_for` prepend a root
path, but it’s not quite compatible with the `Flask` object, so have to
tweak a few minor related things
One more javascript URL to munge
Remove `_uri()` hack, use `url_for()` for entity hrefs
Merge pull request #345 from urbanairship/issue-250-application-root

Issue 250: handle deploying at a sub-url if APPLICATION_ROOT is set