[Import MTK stuff]

* Some libraries already rewritten from scratch
* Still not working. HWComposer memory seems to be wrongly initialized.

Change-Id: I56e03201b686461981ec02bf1a7aa35511edf15b