Refactor http-relate rt functions

- Move rt module functions to new rt_http module.
- Convert http_bucket_types to new test convention.