m2e workspace build support

Use BuildContext to write files to filesystem. This essentially a
noop during command line build, but provides necessary hooks for
m2e to keep workspace resources in sync with filesystem.

Added m2e lifecycle mapping metadata so m2e knows what to do with
the mojos.

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
added copyright header to make license plugin happy

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>