test(rest): add execution query test

- does not add implementation

contributes to CAM-637
feat(rest): add execution query

- adds an ExectionRestService on /execution

contributes to CAM-637
refactor(rest): refactor common query functionality
docs(rest): add missing license headers