Modified for use with composer

This request should not be merged as is. This breaks compatibility with v2 due to the file restructuring and namespaces. This makes it PSR-0 compliant and integrates with the composer autoloader.

Unfortunately, as I dont have a working test environment I've had to remove the tests for now until I can get PHPUnit up and running again, at which point I'll transfer the code from the current tests.