Add getCubeNumber() method to support CUBE_MAT_NUMBER ordering of matrices
Auto-detect OMX vs. Cube, and require CUBE_MAT_NUMBER attr for converting OMX->Cube

Sorry this should have been two separate checkins.