Refactored event names into constants

Event names are now constants in an object called WiseGuiEvents that can be included via require('./wisegui-events.js');
Merge branch 'develop' of github.com:wisebed/wisegui into develop