update to use brooklyn M2 (prep)

This switches to use 0.5.0-M2.

- updated to point at brooklyn 0.5.0-SNAPSHOT, in preparation for
  brooklyn M2 release.
- Use interface+impl for each entity
- Use ApplicationBuilder

Replaces https://github.com/cloudsoft/brooklyn-mapr/pull/3