Improve webservice caching etc.

This fix provides webcache options inc. option to use stale data for
performance, and improves prioritisation of various types of webservice
call. It is a bit rough around the edges, and undoubtedly scope for code improvement.

I am also a little hesitant about the Force Cache option - it works pretty well but less intelligent users may get themselves into a pickle.