Implemented validatation next state's InboundWhiles constraints

1.Exposed evaluateConditionBeforeTransition and validateInboundWhiles
methods in StateMachineObject interface and implemented it.
2.Exposed postValidate method in TransitionMetadata
3.Exposed getDeclaredInboundWhiles and getInboundWhiles methods in
StateMetadata
4.Exposed verifyInboundWhile method in StateObject interface
5.Added error code 002-9002 to indicate violates inbound constraints.
6.
Refactored tests related to inboundwhile constraints