fix mem leak on error handling

Change-Id: I40d8e371c46184aa701fa676246201a9d8f6e27d
native: add support for color-converter

Defines interfaces to interact with mm-color-converter
wrapper class.

Change-Id: Iff2926e553442fca72d9f30a89b5b7177d7a870b
Abort surface composition if hw surface is invalid

If an invalid display device is detected during surface composition
(e.g., a simulated secondary display is removed), abort the
composition.

Change-Id: Ia6afb2e287882d8ae0614eb25463d3f85b687adf
Merge branch 'jb-mr1' of https://github.com/ReVolt-ROM/frameworks_native into jb-mr1