Add license to gemspec and modify dependencies.