Improved composer.json for publishing to packagist.
Adding LICENSE file.
Finished documentation and fixed whitespace.