added post controller tests
fixed bug in PostController
Merge branch 'master' into tests

Conflicts:
	controllers/PostController.java
fixed get/post tests