Added option to keep original indentation by preserving whitespace

This fixes issue #23, and partially #59. I did not attempt to fully fix issue #59, since that would seem to require a full parser.