chore(test): Add tests for activityInstanceService

- add some test cases to test the behavior of the activity instance
  service
- add documentation to activity instance service

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