Fixes on forum

Added empty check in topic and post insert
Fixes on forum

Added empty check in topic and post insert
Indentation fix
Routes for forum

Added CheckAuth in routes
Forum

CheckAuth tests
Final Forum
Merge branch 'master' of https://github.com/ckaltsidis/openeclass into ckaltsidis-master

Conflicts:
	modules/rest/courses.php
	modules/rest/index.php
Merge branch 'master' of github.com:maellak/openeclass into ckaltsidis-master

Conflicts:
	modules/rest/index.php
Merge with master. Fix #19.
Fix missing $.
Remove double routes.
Group relevant routes.
Merge pull request #47 from maellak/ckaltsidis-master

Implement GET /courses/:cid/forums