log fixes in agent.php
move to use facebook-php as a submodule