Added more testing (but still disabled, subject to issue #9 being fixed)
Fixed a small bug in buffer flush functions.
Added reset functions for buffer to allow easy repeating call from MAC layer

Conflicts:
	src/Codegen/CgRuntime.hs
Updated gitignore to ignore perf result files
Fixed small problem with DBG output to a file
Merge branch 'release-fixed' into dev
Small modification due to a semantic merge conflict on ExtBuf.