Bug 1094559 - Implement DynamicInputRegistry +shepherd

We're not using IIFE and ``exports`` here. I don't think it really matters in terms of functionality, but do we need to do that for pattern conformity?