Allow Surface.emit to be called with just type. Event should be optional.
Merge pull request #1 from zgardner/bug/core/GH-1/emit-allow-no-event-param

Surface.emit should check event before doing event.stopPropogation