Updated to support both laravel 4 and laravel 5

This makes sure we're compatible with all versions of laravel 4 and laravel 5.

I've also updated to phpunit 4, and moved to psr-4 without modifying the directory structure.