Utility module rather than monkey patching String

Removed the risk of clashing with other monkey patching libraries and
introducing unexpected behaviour.
Altered StringUtils to include and extend

Ensures that it is available from all potential contexts once mixed in.