Work on converting the zoomhub API to match the one on zoom.it
Add a routing path for compatibility with zoom.it dzi creation at /v1/content?url=foo
Add routing for domain/id.js to create embed code, and stub out an embed generator that calls it.
Missed a couple things in my previous commit.
Send actual JavaScript down to embed a viewer, as per Ian's instructions. Next step: plumb the tileSource values through the processor and the Content modules to get to this one.
Put some constants in config.coffee so that I can get at them from more places; remove a line of debug output.
Read tilesource information from the .dzi in order to build up the embed. Don't try returning that information as part of the initial content response for now, because that's more complicated.
Change the tileSource URL to point to the correct directory for embeds.
Merge pull request #32 from nein09/convert-api

Merge API conversion changes to master.