Added travis build status image to readme
Fixed issue with PHP 5.3.x