ACT-1649: Deadlock occured in load test with db2

Added indexes to DB2. Also added some missing indexes to MSSQL
Merge branch 'master' of github.com:Activiti/Activiti