High: pengine: Process rsc_ticket dependencies earlier for correctly allocating resources (bnc#802307)
If a rsc_ticket constraint has loss-policy="fence", when the ticket is
revoked, the node running the resource will be marked as "unclean".
While we should've done that before allocating all resources, so that we
could avoid allocating any resource to the node.