Fix bug where changes were sometimes overwritten on save, fixes #68
Move internal attributes (_selected, _visible, stuff that should never make it to the server) to separate system from main attributes
Support PhantomJS in browser tests