Added getMessagesByParentId method
Merge branch 'feature-db-getmsg' into develop