Fixed required version

Closes #1.

I've also removed the composer.lock file and added it to gitignore. This file should not be commited in libraries.

Added some other insignificant changed in composer.json while I was at it.