initial code for separating user "periods" from internal "stages"
Make user periods work. Change browser_test to web_test. Add nice header and footer convenience functions.