Append build, test target to Makefile.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Add pre-commit hook script.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>