Remove the build over PHP 5.3

Some parts of the code are not compatible with PHP 5.3. For example, some closures use ```$this```are the use of traits.