Custom inputs namespaces

This add the custom inputs namespace feature that was originally created in this PR #1081.

This PR fixes the custom input class lookup on previous versions of ruby. It also make the custom inputs namespaces has precedence  to top level namespace inputs.

@rafaelfranca Could you take a look?

Thank you @vala for the contributing. 
I think it should raise a error right? If I pass to config a constant that is not defined I would like to be alerted.