Change MED support files license to MIT

Start relicensing core portions of the library to MIT. The library as
a whole stays under LGPL because certain third-party components require
that. We expect to remove or replace these parts so the next major
version could be entirely MIT-licensed.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>