This patch pulls encoding related functions out of strutils into its own
encodeutils module. We could probably find a better name for strutils
now, although it seems short and contextualized enough.
Partially-implements blueprint: graduate-oslo-utils
Change-Id: Ib76065823c8a1b56020f14cea80b6d73e150aa49