Squashed modifications from gist import

Original gist: https://gist.github.com/2072/0a27433da1b5d9c774f6
Switch to GPLv3 license
Create README.md
Update README.md

Add basic usage information