move all json routes into an /api namespace so they don't conflict with any client side routes.
Merge pull request #13 from jkronz/api-namespace

move JSON routes to /api namespace