update code style and add docs+tests for uri::get_query references #298