allow first method of messagebag to return first message of any category.
Merge branch '4.0'