Fix automatic sync
Clear tables when account changes
Minor fix for image title

Decode any html elements that may be present in the title omit quotation
marks in the title string. As a side effect, prevents showing a dialog
for empty title strings.
Merge branch 'image-title-fix' from bravekarma
Update AS and gradle build tools
Merge remote-tracking branch 'upstream/master'