feat(Request): Add transform option to get_params_as_list

This commit adds a new, optional param to Request.get_params_as_list(...)
called "transform". The caller can set this param to a transform function
taking a single string argument and returning what should be appended to
the resulting list instead of the original string.