Remove direct echo db access from mobilefrontend

* It should use the database access object in Echo

* Since it only needs the latest thank record, it should
  query 1 instead of querying all and getting the first one

Change-Id: If5201bb9a81a7c5e9e643ee1ad239248b0663caa
Merge "Remove direct echo db access from mobilefrontend"