Fix urlize stripping periods from content

As a bonus fixes it stripping other markup from content.  Tests added to that effect.