Implemented JSONP support

Fixed php 5.4 support
Added Behat step to assert errors
Merge pull request #4 from pkruithof/jsonp-support

Implemented JSONP support