Small indentation fixes, pragma marks and re-arranging code.
Use NSTimeInterval instead of double, small whitespace cleanup.
merging small cleanups FREEBIE
Shared date formatter and `get message threads` stub SQL to the encrypted database.
Remove duplicated code.
LatestMessage property on TSThread for previewing.
Use NSInteger instead of int.
Small cleanups on the compose message view controller.
Debug database call for all threads using current stub query.