Fix Bug 888368 - Trim project duration on save to prevent extra duration 'whitespace'.

https://bugzilla.mozilla.org/show_bug.cgi?id=888368