Add LGPL and GPL v3 license files, remove MIT license.
Changed license from MIT to LGPLv3 to comply with the original Java code, which is licensed as LGPLv3 by permission from the authors.