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
The generated callback name is causing problems

- When a query gets loaded multiple times, the generated callback name
seems to be causing problems because it’s not unique. jQuery generates
a unique callback internally.