Added distributionManagement to POM for release and set Brooklyn version to 0.4.0
Use brooklyn 0.5.0-M1 instead of 0.4.0-SNAPSHOT