Merge pull request #1 from tbasse/master

Add an optional replacement string for unsafe characters
Make replacement argument part of options object

This will allow additional options in the future without breaking
backwards compatibility.
1.1.0