Added MIT license to all api files

Added the MIT license to all API files.

As we use both, MIT for the API and LGPL for the main project, it should prevent any confusion about the used license for a specific file.