feat(REST/history/statistics): expose HistoricActivityStatistics query

related to CAM-1769
test(history/statistics): fix history statistics test after canceling

- replace copied test with a proper test

related to #CAM-1659
feat(REST): expose further HistoricActivityInstanceQuery methods

expose HistoricActivityInstanceQuery#canceled() and
HistoricActivityInstanceQuery#completeScope()

related to CAM-1770
Merge branch 'master' of github.com:camunda/camunda-bpm-platform
chore(maven): parent pom inherits from sonatype-oss-parent

related to CAM-1250
test(REST): verify only boolean parameters which are set to true

related to #CAM-1770
fix(engine-rest): use temporary folder rule in unit tests

related to CAM-1732
feat(engine): extend HistoricProcessInstanceQuery

Extend the HistoricProcessInstanceQuery API by following functionality:
* processDefinitionName()
* processDefinitionNameLike()
* processInstanceBusinessKeyLike()

related to CAM-1725
improve(cockpit/build): remove the template comments on production build
improve(cockpit/UX): change the page title in process or instance views

This improves the browsing in history and overall user experience.

Closes CAM-1779
Merge branch 'master' of github.com:camunda/camunda-bpm-platform
docs(RuntimeService): add hints on using process instance ids
fix(engine/receive): refactore task subscription and sequential behavior

fixes #CAM-1612 and validates multi instance behavior with some extra test cases
fix(engine): make historic statistics query precise

related to CAM-1659, CAM-1579
fix(cockpit/page reload): prevent page reloading when unnecessary

This commit prevents a page reload/refresh when for example select an activity from the tabs below the diagram.
Also prevent losing the tab scope and fix the "Asignee" typo.

Closes CAM-1727
docs(cockpit/templates): add template starting and ending comments

It helps to find in which template you might have to make change when you use the browser developer tools.
Those comments are striped out when building for production with grunt.
fix(cockpit/build): remove old reference to jquery-ui from bower.json

Because having a hash with the same key twice in it is not valid JSON.
chore(tomcat): Upgrade tomcat version, use maven central tomcat

- Upgraded tomcat version to 7.0.35
- Use tomcat distribution fom maven central
test(engine-integration): add testcase for PA embedded process engine plugin

- works on all app servers except JBoss, because of different implementation inside
JBoss subsystem

related to CAM-1778
feat(engine/history): unify activity instance query mapping

related to #CAM-1656