Fix for nonfree module / stitching module dependencies / initModule / namespaces

Continuing my efforts from https://github.com/Itseez/opencv/pull/3149
Some little changes I forgot.