Extract imgcodecs module from highgui

Merge with Itseez/opencv_contrib#32