alloc counter
fixed all exisiting memory leaks
Merge pull request #6 from seanfisk/malloc_free_counter

Malloc free counter
Merge branch 'master' into doc-update

Conflicts:
	src/memory.h