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

nope. 

```
public function setLockTime(DateTime $lockTime = null)
```

you casting there to DateTime.