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

it's not mine part of code - it's still used in chnaging article status and this was not a part of this PR.