InputFilter\Factory can't handle config with null input

Same issue as with https://github.com/zendframework/zf2/pull/4971

InputFilter\Factory should handle null value, when we want to cancel the input filter input statically (by config).

I'm ready to send a PR.