Simplified @display_hook as tests don't require CAPTURED dict
Added single-frame rendering options for animation display
Single frame animation rendering options may now be selected

HTML video output is not stable for testing. Allowing a single frame to
be output for display as a figure is useful for defining display
regression tests on animation output.
Fixed bug in implementation of __len__ for Contours
Fix bug in the main, right and top properties of Layouts