add travis and coveralls integration
make tests compatible with php 5.3
add build and coverage indicators to readme