Replaced the schedule event source url to the relative API url which fixes #206

The schedule couldn't load because the event source was set to
api.ictcollege.eu. This no longer works because the server doesn't
send a cross-domain allow header.

This fix changes the url's to one relative to the domain of the
school/department.

Change-Id: I4c07b03911bca6d81efbded9322489b1be460069
Added a check to the routes to see if HTTP_HOST exists

Not doing this check causes in the shell and when doing unit tests

Change-Id: Iabeec406b779f8978f6275b1503599c2d0a3ec22
Added uses AppController to the posts and users controllers

Change-Id: I925e79df7c1226b5b22f49ae5d9196b789c8bd01
Added a few basic unit tests

Change-Id: I81413c96c854a272e3c572753b7988960d6c37f2
Merge branch 'master' of ssh://review.cvo-technologies.com:29418/mauris-web