Implement Scope#class, Scope#inspect, LayoutScope#class and LayoutScope#

Not sure if this is the desired implementation of these methods, but it should be a starting point for enhancment and discussion.

cc @joneslee85, @jodosha 
Had to use `self.class` because `class` in this context would mean the class keyword