Declare VideoCapture::get method as a const one (bug fix #2625).

Since VideoCapture::get method is a getter then make it a const one. The same applies to the related methods like CvCapture::getProperty and IVideoCapture::getProperty.
(See http://code.opencv.org/issues/2625)