accept constructor parameters as a hashref

It's common to accept them both as a list and a hashref, see e.g. Moose (and Moo etc.)

CatalystX::ComponentsFromConfig::ModelPlugin can only pass arguments as a hashref, so this makes Net::Graphite usable with it.