WIP: Graph based task serializer for deployment

Added examples of roles and tasks serialization based
on dependencies between roles/tasks

RFC of API:
  https://etherpad.openstack.org/p/rfc_granular_api

Change-Id: Ie627cbe54cd88627ece3d5b559daf0475f460abb