Moved context.load_factories listener to separate method, as $this cannot be used in lambdas in PHP 5.3
Merge pull request #2 from adrianolek/php53-compat

PHP 5.3 compatibility in plugin configuration