Objects.js refactor - removed createClass

All objects should be based on prototypical inheritance now
Refactor states.js to explicitly use prototypes.
Refactor ui.js to explicitly use prototypes.
Refactor gfx.js to explicitly use prototypes.
Added applied Parent calls to constructors

Fixed indentation, converted some to Object.create
Indented prototype method declarations
Refactored events.js - prototypical inheritance
Finished prototype refactor on upgrades
Removed className prop
Removed createClass method. Refactor complete.