[HPT-187] Navigation sidebar and a test to drive it

This required copying the Blacklight layout for some minor modification.