Create test cases for all controllers #28
Moved MediaControllerTest and MailinglistControllerTest to use BaseControllerTest.
Modified MediaController to fulfil coding standard.