Refactoring for more error handling.
Error codes live in app/status.js now.
Merge pull request #31 from sourishkrout/master

Cleaner interfaces for error handling