Bug 833291 - Part 1/7: correct variable namings.

1. 'STORE_NAME' to 'MESSAGE_STORE_NAME',
2. 'lastKey' to 'lastMessageId',
3. 'objectStore' to either 'messageStore' or 'mostRecentStore'.
4. 'record' to either 'messageRecord' or 'mostRecentRecord'
Bug 833291 - Part 2/7: add thread/participant stores.
Bug 833291 - Part 3/7: fix saveRecord().
Bug 833291 - Part 4/7: fix deleteMessage().
Bug 833291 - Part 5/7: fix markMessageRead().
Bug 833291 - Part 6/7: fix getThreadList().
Bug 833291 - Part 7/7: fix getMessagesw().