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