Change global name to Events

Also introduced random event generater.
Migrate event structure into event.js
Merge branch 'master' into Model-dev
Add ship event
event.js now use constants
Merge pull request #2 from CodeMonkeyism/Model-dev

event.js could create random events now