Fixed required version

Closes #2.

I've also removed the composer.lock file and added it to gitignore. This file should not be commited in libraries according to composer docs.

Added some other insignificant changes in composer.json while I was at it.

EDIT: And renamed a directory to normal name "src".