Add braces around single-line blocks, and remove line breaks before function-opening braces. This resolves #537.
This resolves #535.
Refactor permuted backtrace test allocation that was originally used only by the prof_accum test, so that it can be used by other heap profiling test binaries.