moved debugging funcs to separate file
changed debug output file formatting from %d to %04d for iteration
automatically compress cmresults (debug) files on-the-fly
fixes for missing imports
Merge remote-tracking branch 'upstream/master'

Conflicts:
	cmonkey/motif.py
Merge pull request #21 from dreiss-isb/master

updated debugging funcs