Sync from FB side. Small bugfixes, deprecate support for hphpc.