many fixes in OpenCV 3.0 almost-alpha

n/t