Bump version numbers to release 4.0-beta.
Fix up poms to properly sign on deploy, provide source and javadoc jars per sonatype's requirements, and bump the API version to 1.4 for OSGI components.
Restore versions to 4.0-SNAPSHOT
Merge remote-tracking branch 'upstream/master'