Merge pull request #557 from zeird/master

Фиксы
Make Spells.prototype.names a static var
Factor out spells' code generator into separate class
Follow-up: fix bugs
Follow-up: fix typos: this._lastType -> lastType
Improve #wipe codegen
Follow-up: fix typos str -> m[1]
Fix addSpellMenu
Fix #exp, #num codegen
Remove extra file inputs on krautchan when post is sent. Refs #552