Add tests for Context and View commit/archive flags
Add tests for Context and View commit/archive flags

This also includes creates a new BaseTestCase class that all the form
tests extend. They all had shared code in their setUp() methods so they
could safely be combined.

chop-dbhi/serrano,chop-dbhi/serrano,rv816/serrano_night,rv816/serrano_night