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 
can we compare it to a full string instead?