Add apiPost() and fix apiGet() to send the correct headers.
Login functionality.

Add the relevant routes and supporting classes to allow a user to log in to the API using the password grant type.
Add ability to view and comments to events.
Rebase master and update.
Fixing conflicts when rebasing master
Fix conflict resolution mistakes
Fix conflict resolution mistakes
More updates as a result of changes on master. Return status from apiPost() and fix view code.
Style add comment form slightly.
Tidy up whitespace
Merge pull request #57 from akrabat/event-comments

Event comments
adding the new required config object to all Model/API/* class instantiations