Moved common code out of Hypostasis::Document and Hypostasis::ColumnGroup into Hypostasis::Shared.