Upgrade to Selenium 2.44.0 and PhantomJS 1.2.1

Replace org.json use with gson as 2.44.0 uses it.

Add test for license checker (copied from Vaadin framework).

Change-Id: I781fb8e81f6904c3bf2279b64d9ea3a4cdab2be8