updated changes to work with ruby 2.0

Thanks to jamesrf999 on #issue 55 for finding this to make signals work with the new version of ruby.

I have manually tested this on ubuntu 13.04 and qtbinding 4.8.3 with ruby 2.0 and rvm.  

It may need more testing but I did run the rake examples and they worked fine.