Chained swupd servers, auto catalog detection

Added support for chained swupd servers, Mountain Lion and dynamic OS catalog detection.
Enabled mod_rewrite on appliance and added rules for Darwin/9 to
Darwin/12 to http config;
Modified rule for determining last update date as there is no default catalog when getting catalogues off another swupd server