Switch registry dependency

I've added a switch for replacing the mijit/registry dependency by dijit/registry. It uses a feature named 'dijit', which needs to be set to true in order to use dijit. It defaults to using mijit, so it doesn't effect existing projects. This is useful for projects, that use dijit anyway.