Yesterday I completed the development of the REST API for w3af :) The documentation can be found here and the code is ready to use in the develop branch:
git clone https://github.com/andresriancho/w3af.git
cd w3af
git checkout develop
./w3af_api
Before merging it to the master branch I would love to hear your opinions, bug reports, etc. Thanks!