Added MIT license to all api files
Merge pull request #588 from yueh/api-license

Added MIT license to all api files