Stub Stream, StreamWrapper, and Registry classes.
Add PHPUnit 3.7 dependency.
Add PHP_CodeSniffer 1.5 dependency.