* Expose constraints attribute in UI

Linked to issue #124 
Use `map` instead of a for loop here:

```js
modelAttrs.constraints = constraintsArray.map(function(constraint) {
  return constraint.split(":");
});
```