added a few test on encode operator to ensure numbers aren't being converted to strings
added prelude test for encode on complext structures
making ridlist caching really work
incorporate rid list caching fix into MEH's changes
fixed merge conflict over a comment
minor formatting and log changes
fix merge conflict
fix URI encoding bug; merge fixes for Dispatch