added support for opencv 2 and 3
added support for opencv 2 and 3

I updated this file to deal with current opencv versions 2.4 and 3.x.
There are elif branches to initalize everything accordingly. Methods differ. My fav one is @ line 106 'frame.width' -> 'frame.shape[0]' indicating different datatype..
Opencv's naming convention is sick IMO.
(tested both on win10 and ver.3 on RPi)

*** that's my first PR, so please correct me if I'm wrong or something ***
janssen/kivy,rnixx/kivy,inclement/kivy,rnixx/kivy,janssen/kivy,jkankiewicz/kivy,bionoid/kivy,bionoid/kivy,jkankiewicz/kivy,kivy/kivy,matham/kivy,autosportlabs/kivy,KeyWeeUsr/kivy,LogicalDash/kivy,KeyWeeUsr/kivy,tony/kivy,janssen/kivy,jkankiewicz/kivy,rafalo1333/kivy,inclement/kivy,rafalo1333/kivy,janssen/kivy,rnixx/kivy,manthansharma/kivy,jegger/kivy,KeyWeeUsr/kivy,manthansharma/kivy,matham/kivy,jegger/kivy,LogicalDash/kivy,jkankiewicz/kivy,bionoid/kivy,akshayaurora/kivy,manthansharma/kivy,KeyWeeUsr/kivy,tony/kivy,LogicalDash/kivy,kived/kivy,kivy/kivy,jegger/kivy,kived/kivy,akshayaurora/kivy,manthansharma/kivy,LogicalDash/kivy,Cheaterman/kivy,kivy/kivy,bionoid/kivy,Cheaterman/kivy,kived/kivy,rafalo1333/kivy,Cheaterman/kivy,tony/kivy,autosportlabs/kivy,inclement/kivy,jegger/kivy,matham/kivy,autosportlabs/kivy,matham/kivy,Cheaterman/kivy,akshayaurora/kivy