Replace stringstream with a std::string in ModeParser::Process()

There is no benefit in using a stringstream here
Change mode_sequence to be a const ref in ModeParser::Process()

Also change the signature of DisplayListModes() to accept a const ref