Fix dev dependencies.

- require phpunit.
- require the sqlite extension.
use `require` to autoload test classes.

`require_once` returns `true`, so we can't add the test classes to the
autoloading.