Initial unit testing and php 5.5 compatibility

Hello please configure travis for your repository and change the url to the status image in the readme file. 
Regards