Laravel 5 Support

Some small tweaks to add support for Laravel 5