Raise RaceConditionError for race condition failures

In some circumstances it would be useful to retry failures due to race conditions. This PR ensures statesman raises a `Statesman::RaceConditionError` when a transition fails due to a race. That could then be used to retry the transition.