configtoformfields directive

import @nistala's directive, with tweaks, + test.

also moved existing directive tests to own directories.
Should we have something more like a state or a config initialized inside the directive that will more straight forward say that the config is not provided? I feel checking for label to be empty is not intuitive.