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.
Fix phpunit, and the tests that were failing
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 branch 'master' of GitHub:joindin/joindin-web2 into clairs-phpunit-fix

Conflicts:
	app/Joindin/Controller/Event.php
adding an instruction for phing to run the phpunit tests when building web2
Merge pull request #57 from akrabat/event-comments

Event comments