Convert tabs to spaces and remove trailing whitespace in tests

HHVM style guidelines specify using spaces instead of hard tabs and not to have trailing whitespaces. I removed them from all the `*.php` files in `tests`. In other words, this pull request doesn't mess with the `.phpt` files as I didn't know if `php-src` cares about this sort of thing.