feat(history): Add history queries to REST API

- Now it is possible to query after HistoricActivityInstances,
  HistoricProcessInstances and HistoricVariableInstances
Merge branch 'master' of github.com:camunda/camunda-bpm-platform
feat(rest): Add process instance ids REST query

- add list of process instances ids to query after them
fix(cockpit/process-instance): fix variable type not being editable

Regression demanded fix.
chore(webapps/modal): use angular-ui for dialogs

Instead on relying on the self-written and outdated modalDialog
directive,
we are using the angular-ui to open and interact with dialogs.

- migrate all dialogs and move them to external templates
- remove modalDialog directive

additional cleanup
- remove angular cookie dependency

Closes CAM-1150
fix(tasklist/ui): fix task menu positioning

- Menu is pulled to the left
- Delegate menu is only shown if colleagues to delegate to are
  present.

Closes CAM-1129
Merge branch 'master' of github.com:camunda/camunda-bpm-platform
chore(invoice): check read only identity service

do no create demo users if identity service is read-only

related to #CAM-978
impr(ldap): fix typo in example config

related to #CAM-978
chore(ldap): use plugin based config

- use plugin-based config in testcase
feat(rest): add suspension state

- now it is possible to suspend and to acitvate a process instance
fix(jboss): support @PostDeploy with EjbProcessApp

- support Process Application lifecycle callbacks in EjbProcessApplication
  on JBoss Application Server 7

fixes #CAM-1048
Merge branch 'master' of github.com:camunda/camunda-bpm-platform
fix(logout): Refresh location on logout

- a refresh is done when a user logout to clear all caches

related to CAM-1143
Merge branch 'master' of github.com:camunda/camunda-bpm-platform
impr(spring-pa): use bean name as name

- use bean name as ProcessApplications autodetected name if no name is provided

related to #CAM-1093
Merge branch 'master' of github.com:camunda/camunda-bpm-platform
impr(spring-pa): use bean name as pa-name

related to CAM-1093
fix(bpmn/message-event): make serviceTask behavior for throw/end optional

The serviceTask behavior is now optional for messageEndEvents and
throwingMessageEvents (intermediate).

That restores backwards compatibility with the non-behavior message
events.

Closes CAM-1156
fix(webapps/security-filter): fix attachHeaders on Websphere

Websphere throws an IllegalArgumentException when
HttpServletResponse#setHeader is called with a null argument
value.

This commit adds the appropriate != nul checks to ensure compatibility.

Related to CAM-1055.