Added support for specifying cache configuration

ref #176

Added a new setting THUMBNAIL_CACHE which defaults to 'default', but can be used to specify which cache configuration to use. This might be useful if running multiple cache clusters.

Signed-off-by: Rolf Håvard Blindheim <rolf@moota.com>