Began Method unit tests

First test is that _linkButton works normally.

Introduced lots of core infrastructure for unit-testing QL, which should
be very useful going forward.