Fixed unique key length bug in MySQL, and added license file.