Added a license file and changed README to markdown.

Just getting things ready to post this up on github.