Refactoring: moved model code out of engine into a separate model object, adapted all clients calls.
Added checks against negative coordinates in isValid().
Turned nanities.Model() into a proper constructor and adapting all calls.
Added isEqual() to Model and enhanced isValid() to also take coordinats objects.
Merge pull request #4 from robten/model

Refectoring of data handling code into it's own model module