Fixed INCDT 19869

lock is released in recordIdChanged
implemented minor fix to smoke::navigateToExistingWorkspace
test fix with Incident
Merge branch 'master' of github.com:xtuple/xtuple into INCDT-Bug-19869
Merge branch 'master' of github.com:xtuple/xtuple into INCDT-Bug-19869

Conflicts:
	test/mocha/lib/smoke.js
Merge branch 'INCDT-Bug-19869' of github.com:tjwebb/xtuple into INCDT-Bug-19869
Merge pull request #859 from tjwebb/INCDT-Bug-19869

Incident #19869: Locked record is displayed on selecting to open a contact after discarding new contact screen opened from it