Fixed issue where the modular input base class did not get loaded on
hosts with other apps (such as the Django monitoring app); also allows
empty sourcetypes now. reference #754, #774.