Fix message.first return value for mongodb

In mongodb implementation of MessageController first action didn't return
proper doc, but whole mongo doc instead.

Change-Id: I7927bf5c9d69c0ef8ea432b20e6368e1d92b1dca
Closes-Bug: #1296291
Merge "Fix message.first return value for mongodb"