draft version of UMat and transparent API

DO NOT MERGE!
this is just to review and figure out what are the build and test problems.