fix(cockpit/page reload): pass the activityIds and prevent event propagation when click a job definition link
feat(history/statistics): add historic activity statistics query

This commit adds a HistoricActivityStatiticsQuery to get for each activity
of a specific process definition the number of running instances.
Furthermore, you can also get a statitic about the finished, canceled and
completeScope for each activity of a specific process definition.

related to CAM-1659
chore(engine/noHistory): exclude HistoricActivityStatisticsQueryTest

related to CAM-1659
fix(cockpit/page reload): This commit improve several is supposed to fix the scope lost and page reload encounter when a link in the tabs is clicked.

It also improves (a bit) the javascript build tools and processes:

- use the [newer](http://npmjs.org/package/grunt-newer) to speed up the copying of watched files
- prevent the tests to be automatically runned when a file is changed
- allow livereload feature to be runned on a different port
- prevent the livereload snippet in require-conf.js to be parsed as a jsDoc comment block
- refactor the bootstraping modules of cockpit, admin and tasklist by moving some functions in the require-conf.js
Merge branch 'master' of github.com:camunda/camunda-bpm-platform
fix(cockpit/page reload): change the detailsTab value for process instance link incidents tab
fix(cockpit/tooltip): change back to the custom build of jquery.ui

fix(cockpit/page reload): change the detailsTab value of process instance link
fix(cockpit/maven): prevent maven to build the developement grunt profile
test(CAM-1773): add failing test case for exceptions on conditional sequence flows

https://app.camunda.com/jira/browse/CAM-1773
Merge branch 'master' of github.com:camunda/camunda-bpm-platform