postMessage/onMessage API fixes
Merge remote-tracking branch 'upstream/master'
fixed issue where declared types did not properly have their events and functions converted
Merge pull request #207 from eukreign/master

fixes for Port events/functions