[ticket/12962] Add facebook/webdriver dependency

Create a new composer.json for tests dir and add
facebook/webdriver dependency

PHPBB3-12962
[ticket/12962] Install test dependencies on travis

PHPBB3-12962
[ticket/12962] Run UI tests only when php version>=5.4

PHPBB3-12962