As of X/Y males and genderless could pass on their HA, but here's the catch: only when breeding with Ditto, and the male/genderless Pokémon must have it's HA. If you are breeding with a female of any kind and you can get an egg, the female MUST have the HA to even have a chance. You will never get a HA if the female parent does not have it, or the male/genderless parent when breeding with Ditto (so breeding with Imposter Ditto has no effect either way)