JBPM-3888: Migrating from Hibernate 3 to Hibernate 4

- This is the first commit. Because of build and dependencey issues,
  there will be subsequent commits which can not be made until
  after this commit has been processed by the build system
  (jenkins/maven).
- updating to hibernate4
- adding bam listeners
fixed failing tests
Merge branch 'master' of https://github.com/droolsjbpm/jbpm
- fixing missing task names in tests
- updating BAM listeners
use local file system FileService implementation for tests
added work item producer to allow plugable mechanism for work item handlers look up
turn maven-bundle-plugin integrated with m2e builder without have to use jar plugin.
Better OSGi building (cvgaviao's pull request): code style
Better OSGi building (cvgaviao's pull request): add TODO's to remove the META-INF entries in gitignore
Better OSGi building (cvgaviao's pull request): remove the build.properties file in the pom-first osgi builds (not in the manifest-first osgi builds) because they serve no purpose
Don't declare <version> of plugins in modules: all plugin versions should be declared in the droolsjbpm⁻parent pom
code style: xml files all use 2 identations
junit test dependency is already declared by droolsjbpm-parent in test scope for all projects
code style: xml files all use 2 identations
extract the hibernate3-maven-plugin version to the droolsjbpm-parent pom
- updating ioServices used in FileService to produce FileServiceIoServices
adjustments for distribution to fix broken build
- support process tests
- adding support process