Improve string splitting

String splitting is something that we often have to do but our support
code for doing so is not the best. Add support for using
std::string_view in many circumstances and add support for making an
iterator of splits without allocation.

Test: ./test.py --host
Change-Id: I1b56b7e10926a064b64011326b508dd4af707df9
4 files changed