Laravel 5 support

Changes to allow Doctrine to work nicely with Laravel 5. Includes tweak to RememberToken trait.

And fix in TrashedFilter to support PostgreSQL.