src/test/webapp.php: Add explicit type signatures for first two parameters of 'submitForm' method.
src/template/: Just "shelving" some changes (which shouldn't affect behavior) that have been sitting aside locally.
src/dates.php: Tweak way 'getLastDayOfMonth' calculates timestamp, as the previous mechanism was failing for an unknown reason (bug in specific version of PHP, perhaps?).