Split highgui module to videoio and highgui

Merge with Itseez/opencv#2964