Support for PSR-0 autoloaders, PSR-0 namespaces
updated composer package reference

Newer versions of `composer` do not allow asterisks (`*`) when installing development packages. More info [here](https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion).
Update to latest version of resty version
Removed copy of restry from repository
Removed composer.lock becues it should not be included
Removed source and pear support
Used php-cs-fix to fix to PSR-0
Fixed docblocks
Fixed some tests