Add the concept of exchange attributes

These will be used to provide consistency across features, such as the access log,
rewrite handler, page cache etc.
Add ability to reference variables from the predicate context