Adds tests for panel structure

Refs #51.

Approached this one by selecting the inner (optional) class and test that its parent has the required *parent* class. (e.g. select for `.panel-title` and check that it has `.panel-heading`).
Actually, we want to specifically warn about this. Compare with https://github.com/twbs/bootstrap/issues/14300