Revert "Removed version, added type"

This reverts commit a98989172bee11427c7b6986c98c38e464e641fc.
Adjusted Composer package type and removed hardcoded version.

See #54
Merge pull request #57 from Rarst/composer-fixup

Reverted package.json change and applied to composer.json