make tests more valgrind-friendly by not leaking memory
add a script to pull a branch and update submodules
segmentation fault caused by free'ing battles twice
Merge branch 'version-3-3'

Conflicts:
	src/build.h
	src/vortex.test.c