Fix bugs introduced due to changes on API

The class PhabricatorObjectHandleData (which we used a lot) was removed
so we had to adapt the code to the new API.

Signed-off-by: Mailson Menezes <mailson.menezes@openbossa.org>