Make Fluxbb compatable with Laravel 4.1.26+

See http://fluxbb.org/development/core/tickets/970/ for details of the changes