Expose optional default values for the GetEvent* SP functions.
Fix linux build.
Merge pull request #157 from VoiDeD/getevent-defaults

Expose optional default values for the GetEvent* SP functions (r=psychonic)..