Changed is_REST_URI to take in a std::string instead of a const char*.
Updated other functions to use std::string instead of const char*.
Formatting fixes.