Merge pull request #7 from toopher/php53_syntax_support

Change default param syntax to php 5.3
Add more robust error handling for unexpected response types
Fix testcase name to match what is actually happening
Merge pull request #11 from toopher/hotfix/add-error-handling

Add more robust error handling for unexpected response types
Make tests and dependencies 5.3-compatible