Separated the HTTPServer.java and the rest of the handlers.

Added tests to the PagesHandlerTest.
Added mock objects that might be used later.
Extreme Programming Teodor Dumitru & Martin Gergov