Cleanup composer structure

Cleaned up composer structure, removed composer.phar file and added to ignore, refactored tests mildly to not rely on PSR-0 autoloading in composer.json, added phpunit to the require-dev dependencies.