Replace patches using sed and perl with pure php.

* Define PHPBREW_EXPECTED_PHP_DIR and PHPBREW_FIXTURES_PHP_DIR in
  phpunit.xml.
* Add a common interface of patch utility classes.
* Add a new class RegexpPatch which replaces a content of files using regexp.
* Introduce PatchCollection class and it holds patch definitions now.
* Add tests for Apxs2PatchTask, Patch64BitSupportTask, RegexpPatch,
  PatchCollection, and RegexpPatchRule.
* Add an utility class which provides a way to create temprary files in
  tests.
Merge pull request #435 from shinnya/feature/replace-sed-and-perl

Replace patches using sed and perl with pure php.