core/umat: usage flags (with proposals from PR #2195)
Merge pull request #2334 from alalek:umat_usage_flags_2