Move api docs to phpdoc (wip); fix wrong property name in Response class