add phpunit and route tests
add travisci
update travis.yml
update ini settings
fix xml entity
finish route tests and bug fixes