added a generic interface to handle all types of JQM events with a common method in JQMWidget

I worked on a different local branch cloned from costescuandrei and didn't know how to get rid of the commit which merged the 2 branches (my master and my development clone (used as a remote for my master) ). So now there is a  revision with 2 parents  one of them is not accessible on git hub. 
What I really wanted to really do is create a patch with Egit  from my development repository (cloned from costescu andrei's repo) and apply it to my local master repository  ,but somehow after applying the patch the re were no changes to my local copy . I had to set my development repository as remote and merge from it. Don't know why patch didn't apply.