Create test cases for all controllers #28
Added BaseControllerTest.php as a base class for all controllers.
Moved AnnouncementControllerTest and CategoryControllerTest to this new base class.
Refractor AnnouncementController and CategoryController.
Ensured all fulfil coding standard.