Get workflow state related information from APIs

* Message collection API returns current workflow state if any for the
  given language
* Message groups API returns configured workflow states.

Change-Id: I3a7c3e1227187bb1165557af039ec2604d9db050