backbone: trim on edit (ref #635)
Merge pull request #649 from passy/backbone-trimming

Backbone: trim edits