Add PHP 5.3 to Travis CI.
Code compatibility fixes for PHP 5.3.
Fix incorrect variable scope issue.
Fix invalid syntax against PHP 5.3 in unit test.
Fix invalid syntax against PHP 5.3 in unit test.
Merge pull request #57 from leftclickben/FixRelationshipGeneratorForPhp53

Fixes for php 5.3
Happy with your response :)