Memory logging added.

Added an option to only log the memory system.
Fixed debug option.

Turns out -0g provides optimized debugging, which is something that
doesn't always help. Removed those to provide the best debugging options
in level 2.
Merge branch 'master' of http://github.com/avadhpatel/marss
Stats doubled incorrectly.

Thread_pause_cycles were added twice in the same function, this removes
one of them.