add phabricator client (arcanist)

We're going to experiment with phabricator, so
we need the client. It depends on php.
reorg tests into unit and functional

unit tests run first, then functional tests.