add new article api resource, fix api image updating, add behat tests

we need this for travis