remove unwanted backslashes and improve test
add php 5.2, 5.6 and hhvm to travisci file