REBASE set WAL journal size limit to 10% of available space or 10M
standardize code format by removing wrong whitespace and brackets
remove dead or commented out code

This is all remnants of various debug efforts or half-implemented ideas
that don't seem to be required.

refs #1658 https://dev.guardianproject.info/issues/1658