Adding autoloader support for <5.3 classes as per PSR. Fixes #289 & allows drop-in old libs.

Signed-off-by: Ben Corlett <bencorlett@me.com>
added str_random funciton.
Tweaks to class loader and tests.

Signed-off-by: Ben Corlett <bencorlett@me.com>
Using the directory separator consistently through the autoloader.

Signed-off-by: Ben Corlett <bencorlett@me.com>
Autoloader docblock tweaks.

Signed-off-by: Ben Corlett <bencorlett@me.com>
fix eloquent each function.
Merge pull request #290 from bencorlett/feature/autoloader

Adding autoloader support for <5.3 classes as per PSR. Fixes #289 & allows drop-in old libs.
cleaned up some stuff.