Problem: No builtin way to valgrind or gdb
Solution: Add the `make memcheck` and `make debug` targets
Merge pull request #809 from jemc/valgrind_gdb

Problem: No builtin way to valgrind or gdb