Change license from LGPL to MIT

I changed the license for the library. For consistency, I use the same
for the demo application.