Update composer.json

Directory must match namespace in order to get right autloading
Fixed string cast, and use right variable for template
Added README.md
Merge pull request #5 from markri/master

README, bugfix, namespace issue