[WIP] extend Stat.qq to work with Distribution and add tests

Requires modifying some basic definitions (types that are allowed to
be bound to aesthetics, and skipping scale application on the first
pass).

Needs more work on non-default Scale application