switches to PHPUnit, general upkeep, adds scrutinizer