Document system/model/model.js

- Also fixed incorrect example in system/model/attributes.js thanks @bradleypriest