Use iOS 7 base64 methods and fix memory leaks
bringing in db related changes FREEBIE
Merge branch 'master' of https://github.com/nabla-c0d3/TextSecure-iOS into nabla-c0d3-master
Add SWTableViewCell pod.
Remove threadImage and update UI for TSMessageThreadCell.
Make TSMessageThreadCell a subclass of SWTableViewCell.
Implement delete button on message thread view controller.

- Also animates the the bar button items when entering/exiting editing mode
added default catchall exception if error handling in db goes awry FREEBIE
pods
testing out ui-improvments FREEBIE

Merge branch 'ui-improvements' of https://github.com/ursachec/TextSecure-iOS into ursachec-ui-improvements
some basic UI handling of db password being incorrect FREEBIE
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.
added reload data methods to messages view controller FREEBIE