Misc refactoring

added a few factory methods in SOQLBuilder
using SOQLBuilder in SyncManager
simplified ContactListLoader
using TextUtils.join instead of Joiner in SyncManagerTest