Trim summary/build string within Bug Api

I don't really mind either way - at the moment, database shouldn't contain spaces. So in theory we only need to trim on save. Majority of the time, we'll be viewing data, so given people moving to cloud hosting etc, i'd rather save the few microseconds of CPU time.

We probably need to decide across code base whether we should always trim on both save+display, or whether it's enough to trim on save, and therefore not need to on display.