Checking if task instance and task are available
Merge branch 'BRANCH_PLATFORM_5' of git+ssh://github.com/idega/org.jboss.jbpm into BRANCH_PLATFORM_5