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

Surface.emit should check event before doing event.stopPropogation