Implement ajaxCache option

Allows for caching of upstream AJAX service responses per HTTP caching rules.
Fix ajax cache output