Merge branch origin/1.2 to master

Signed-off-by: Gregory Meno <gregory.meno@inktank.com>
rest-api: adds missing dateutil import

Signed-off-by: Gregory Meno <gregory.meno@inktank.com>