Bump to version 0.3.1.dev.
Add license details to gemspec.