Adding support for Maven pre/post-build steps

Once #135 is in, I'll add integration tests for this as well.