Fix array syntax for PHP 5.3 compatibility.
Add tests for custom Eloquent\Query\Builder extensions.