Implement VideoCapture::get as a constant method (bug fix #2625).

This is a port of #3503 
Since VideoCapture::get is a getter then make it a constant method. The same applies to the related methods like CvCapture::getProperty and IVideoCapture::getProperty.