Support json formatting for mobile routes.
Added events API support.
Removed unused code I was testing.
Merge pull request #245 from fmscode/master

Mobile Improvements