Feature/ngui form2config directive

import @nistala's directive, with tweaks, + test.

also moved existing directive tests to own directories.