Updated rest resources to indicate to clients that they should never cache.
added support for return headers and fixed a bug in taking query parameters from the client side.