Make cacheable more portable

Move the cacheable code to the Http class and allow the client configuration
to be cached in the browser
Merge pull request #56 from greezybacon/feature/http-cacheable

Make cacheable more portable

Reviewed-By: Peter Rotich <peter@osticket.com>