really small patch version bump to 0.3.1

* runs warning free with ruby -w now thanks to @chastell
* improved error message for callback errors