Added a flags argument to ParameterHandler::setupPlug()

This allows clients to choose the default flags for their plugs, rather than being forced to have `Default | Dynamic` plugs.