Add the reverse flag to the updated active context in create term definition processing, and tests for the same.
Handled the @container value when handling the @reverse value when create a new term definition in the context processing algorithm.... with tests.