added license file.

rails is MIT, hence MIT license for this as well.