Fix gemspec. Add lisence information
Bump up version to v0.3.1