Added a new parameter (hive.metastore-refresh-in-background) to set the metastore cache behaviour (foreground/background loading)