Merge pull request #78 from ikkentim/master

Allow OnPublicCall to handle return values
Update prototype of OnPublicCall()
v4.0-beta
Epic fail