ACT-1753 Add missing sql mapping

ACT-1753 Add missing sql mapping for 'selectProcessDefinition'
http://jira.codehaus.org/browse/ACT-1753
ACT-830 ProcessInstanceQuery#DefinitionName

ACT-830 Provide API ProcessInstanceQuery#processDefinitionName
http://jira.codehaus.org/browse/ACT-830