Make the layout functions (Fixed, VBox, Hbox, and Grid) pickleable.

The Displayables were, but the constructor functions weren't.
This fixes that by turning the functions into classes.