Add an option to configure whitespace

I wanted to break at newlines, not just HTML breaks.  This permits that by allowing whiteSpace: "pre" in the options.  Default behaviour is unchanged.
Merge pull request #7 from uecasm/patch-1

Add an option to configure whitespace