refactor and expand compile mojo into compile, create, diff, upgrade mojos

add example2 to upgrade example1 to

documentation updates

properties vs plugin config usage updates