CLOUDIFY-2644 added workflow service upgrade support and fixed some bugs