use `cv2.cv` if importing `cv` fails

... as in
https://github.com/thumbor/thumbor/blob/master/thumbor/detectors/local_d
etector.py
Merge pull request #8 from fgnass/master

Thank you, @fgnass.