A tedious effort to carefully implement 2-way sync mechanism. Finally
coding is done and the flow needs to be tested. Added a new GConfig
class to hold config parameters. Implemented the storing and retrieving
from server in batches of MAX_RESULTS (default=10). This will ensure
that there is no pressure on memory if there are large number of
contacts to be sync'd. Added support for slow and fast sync. In fast
sync, added support for conflict resolution (as per the policy set in
the profile XML). Had to fine tune the data structures used to hold the
content and their processing. Used the "link" attribute in the atom feed
to check if there are more entries to retrieve

Signed-off-by: Sateesh Kavuri <sateesh@mobilitas.co>