Improved Restler to store refresh cache setting so that it can be used else where
Improved Resources to rewrite the cache when Restler is started with refreshCache true