Web server refactor and tests cleanup.

Refactored CrawljaxServer into a Runnable class and added a separate
class for main method.
Added CrawljaxServerResource for test cases.
Added timeout rules to web tests.
Changed selenium dependency in pom.xml to use dynamic version.