feat(engine): Extend historicVariableInstance query with more parameters

- it is possible to use taskId and executionId as parameter for
  historicVariableInstance query
- adjust REST api for this engine api change

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