Fixed code style; added comments.
Edited README.md; added MongoLab information.
Added CRUD actions for badges.