Add missing ignore.
Use drupal_is_cli instead of php_sapi_name.
Also support modules that are located in the modules folder directly.
Introducing PHPUnit testing platform.