Improved model states.

Closes #39. Also fixed several bugs related to the states.
Merge branch 'master' of github.com:gordonkristan/Ember-Graph
Updating builds after last merge.