extract the BaseGateway from SmsGateway.
fix up a typo in "equals".
refine the naming of SmsMessage's getters.
add contact data gateway.
refine the index getting of SmsGateway.
correct the contact data and photo.
close all cursors which has been used.
Merge branch 'feature/contact-info' into develop