mmm-bat.sh: Clean up.

- To change the annotation of license.
- To move a code for the mmm-build into 'build_command' function.
Makefile: Add make rule for test.
test-mmm-bat.sh: Clean up.

- Add a 'mock-mmm-bat.sh'
- Remove the duplicated code.
- Use the 'local' keyword when declare variables.
mmm-bat.sh: Add the feature that custom build.
test-mmm-bat.sh: Clean up.
mmm-bat.sh: Clean up.
Merge branch 'feature-custom-build' into develop
Merge branch 'develop' into release-0-3
Update the version info.
Merge branch 'release-0-3'