Fix compatibility with PHP 5.3 by using $that in closures
Merge pull request #1 from clue/fix-php53

Fix compatibility with PHP 5.3 by using $that in closures