added php unit tests, and files for scrutinizer and Travic CI tests