Added a plain text LICENSE file to the docs folder.

Also, I fixed some issues with the markdown LICENSE.
Added a markdown LICENSE to the lib folder.
Added a markdown LICENSE to the root folder.