Fix broken maintenance mode
Maintenance mode has been broken since r7fe19ebfe0d3 (Thu Jun 4)
"Display caught errors on the page itself", fix it by passing the
site entity, rather than the site module to isActivePeriod.
#!/bin/sh
NOSE_WITH_DOCTEST=t
export NOSE_WITH_DOCTEST
NOSE_DOCTEST_EXTENSION=txt
export NOSE_DOCTEST_EXTENSION
#NOSE_DETAILED_ERRORS=t
#export NOSE_DETAILED_ERRORS
nosetests $*