batched plugins into coreplugins.js

- added game.d.ts (used by plugins)
- added pluginhelper.d.ts (used by plugins)
- corrected some type inconsistencies
- switched loveletter files to use coreplugins.js