Fixes error related to empty application names when adding a defect tracker to an application.
Closes #607 by writing new values onto existing object instead of using a new one. This makes hibernate not get confused about its managed objects.
Merge commit '52c1d23fe656176798b8681ec31fc352b868cdb5' into HEAD