Set default value for $cacheDuration

Changed default value for cache duration from null, to 3600. If someone doesn't create a config and does not set manually cache duration we have a default value which wouldn't throw an exception.