Check hostlist against starting and active resources
Check hostlist against starting and active resources

This commit makes post-start notify action to check
hostlist of nodes that should be joined to the cluster
to contain not only nodes that will be started but
also ones that are already started. This fixes
the case when Pacemaker sends notifies only for
the latest event and thus the node which is not
included into the start list will not join the
cluster. Also it checks whether the node is
already clustered and skips the join if it
is not needed.

Change-Id: Ibe8ecdcfe42c14228350b1eb3c9d08b1a64e117d
Closes-bug: #1455761

stackforge/fuel-library,huntxu/fuel-library,eayunstack/fuel-library,stackforge/fuel-library,ddepaoli3/fuel-library-dev,huntxu/fuel-library,eayunstack/fuel-library,xarses/fuel-library,stackforge/fuel-library,huntxu/fuel-library,ddepaoli3/fuel-library-dev,eayunstack/fuel-library,xarses/fuel-library,huntxu/fuel-library,xarses/fuel-library,ddepaoli3/fuel-library-dev,eayunstack/fuel-library,ddepaoli3/fuel-library-dev,stackforge/fuel-library,eayunstack/fuel-library,ddepaoli3/fuel-library-dev,xarses/fuel-library,huntxu/fuel-library