updated TestCaseMethod.tpl based on PHPUnit 3.5.15 (brought back the lines we removed back then and commented them out for easier updating in the future), this means we require 3.5.2 minimum because strictMode() was called strictAssertions() before that (ah, so great, public API breaks in micro versions!), refs #1360
fix old tests to not use methods removed in PHPUnit 3.6 anymore (WTF?) and to use data providers instead of the dynamic test case creation we did before data providers were in PHPUnit (that old way doesn't work with PHPUnit 3.6 anymore), refs #1360
Fix #1360: Fatal errors with PHPUnit 3.6
merge 95c0531d0b8db25324d54e091c4d5208ea76bbc6 to 5fb6d8fbeaf1559e64b33ef5b53a48576201a1ba (from 1.0)