Allow to configure line endings and indentation

Allow to configure line endings and indentation used in the DefaultPrettyPrinter plus test cases.