PROV-913 Fixes for PHP 5.3

+ Add PHP 5.3 to Travis CI.
+ Incorrect variable and class contexts.
+ Retrieving element of array returned from function directly, without local variable.
Merge pull request #116 from leftclickben/PROV-913_FixesForPhp53_develop

PROV-913: Fixes for PHP 5.3