Added cropToImageEdges method to Line class
Corrected method extendToImageEdges in Line class.
Tests added for cropToImageEdges and extendToImageEdges
Corrected bresengam_line method in ImageClass.

There was a bug with cropping lines. So if the line bigger than image
then it just set endpoints to image edges without saving slope of the
line.
HaarCascade filepath bug solved
cv2 support for haarcascades
cv2 support for haarcascades
cv2flag added
Merge branch 'extend_crop' of github.com:polart/SimpleCV into polart-extend_crop
Added cropToImageEdges method to Line class
Corrected method extendToImageEdges in Line class.
Tests added for cropToImageEdges and extendToImageEdges
Corrected bresengam_line method in ImageClass.

There was a bug with cropping lines. So if the line bigger than image
then it just set endpoints to image edges without saving slope of the
line.
Fixed bug in return format of line.

Should return endpoints as tuple, not as list.
cv2 haarcascade xml
tests updated
xml dataset
grayscale matrix issue resolved

Signed-off-by: jayrambhia <jayrambhia777@gmail.com>
fixed 2 display tests
Merge branch 'haar_cv2' of github.com:salil93/SimpleCV into salil93-haar_cv2