Tests: Reuse decompiler roundtrip assertion code

This contains no functional changes, except that
it will ignore blank lines when comparing code.

This reduces duplicate code, and will make it
easier to add assertions for Roslyn compilers.
This is required for #503 (which is still in progress)