Add PHPUnit tests and Travis-CI