Add hhvm checking

I am curious to see if it works.
See http://blog.travis-ci.com/2013-12-16-test-php-code-with-the-hiphop-vm/
Started adding PHPUnit tests
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Remove the phpunit stuff from master
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Revert "Add hhvm checking"

This reverts commit a48e2a97d1130f248c81412470acb85a36b90185.
Cleanup the registration
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
More changes for separation of concerns
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
getOtherGroups() shouldn't use $_REQUEST.
Not sure if the new second param will ever be used though.
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Woops, committed the wrong file
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
validateEventPost() is entirely permissions checks. Move it to the calendar controller.
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
customfield should be passed, not gotten from $_POST
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
More moving stuff from the model back to the controller
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Forgot the documentation. Thanks @Scrutinizer
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Merge pull request #1449 from joshuaadickerson/Subs

Model to controller stuff