Knockout input value trimming on edit

Issue #635