added TrainerProperties to cascade trainer and changed opencv cv2 lib to be a cmake variable and look in opencv lib directory for it.
fixes for windows and cv2