StructuredEdgeDetection to python

Preparations needed for exposing `StructuredEdgeDetection` to python.
Corresponding PR to `opencv` will follow after this PR is merged (remove header from blacklist and some fixes)