Use tools.mk in Makefile

We intentionally let the Makefile override the 'test' target from
tools.mk, because it does weird stuff.
Merge pull request #808 from basho/feature/tools.mk

Use tools.mk in Makefile