conpaas: added primitives for expecting state ending with error if wrong state or waiting for the expecting state.
conpaas: added primitives for expecting state ending with error if wrong state or waiting for the expecting state.

ConPaaS-team/conpaas,ConPaaS-team/conpaas,ConPaaS-team/conpaas,ConPaaS-team/conpaas,ConPaaS-team/conpaas,ConPaaS-team/conpaas,ConPaaS-team/conpaas