Implement Scope#class, Scope#inspect, LayoutScope#class and LayoutScope#inspect - this closes #44