Add Laravel 4.1 support

Still testing this; tracking changes I had to make to get 4.1 working in this PR.