Support for hashified constructor params as Cached::Memcached does

Cache::Memcached->new can accept both: a named params and a hashref of named params. This patch makes Cache::Memcached::Mock do the same.
The problem happens with Dancer::Session::Memcached module which uses different calling convention.

Thanks!