test(engine): test activity inst for variables when execution moves

- related to CAM-982
chore(engine): undo commit 167b8a8360153c5315bdebc1d7721544bf83e4b2
improve(engine): improve variable instance select query

related to CAM-982
Merge branch 'master' of github.com:camunda/camunda-bpm-platform