Add a function fallback for json_last_error_msg in Response

and lower the php version requirement accordingly to >=5.4.0
Add Travis CI configuration