integration test fixes
Fixed NPE
Reset update context before reattempt
re-enabled business check disabled during rdp migration (seems legit now)
updated TODO following investigation
Fail update when there is an identical update pending with same authentication
fixed VM variables bleeding through in case of early error in updates, when action is not decided yet
Updated pending update tests - use syncupdates to setup scenario, not databaseHelper.
Changed deferred authentication to pending authentication to have consistent naming
Move PendingUpdate to commons so that is can be used from DatabaseHelper
Cleanup pending updates tables after each test run
Simplify inserting pending updates in tests
Remove pending update specific methods from DatabaseHelper
pending updates - notifications for when update is stored as pending
added TODO for completing pending updates
Extract formatting of messages to show errors as infos in case of pending auth
Fix one e2e test with pending authentication
Added some review comments
Properly print global messages in ack responses