Document JS test helpers a bit
Refactor common code for component and actions DSL

Extracted to Core::DslSupport. It should be possible to reuse it for declaring columns in Basepack, too.
Slightly refactor Core::Javascript