Major files refactoring - isolate.

- Split main from handlers declaration for endpoints handlers.
- Remove unnecessary imports.
- Remove APP from mapreduce_jobs, it unnecessary.
- Rename source files for consistency.
- Enforce debug parameter on all create_application().
- Remove appstats, the new Cloud Console Trace features can give meaningful data
  without require intervention from within the app.

Review URL:
10 files changed