Mark std.string.chop and its unittest as @safe and pure
Merge pull request #1512 from tom-tan/safe-pure-string-chop

Mark std.string.chop and its unittest as @safe and pure