[qtcontacts-sqlite] Simplify class declaration for TwoWayContactSyncAdapter

Move functions that have no reference to member data to an anonymous
namespace.
Merge pull request #153 from matthewvogt/cleanup

[qtcontacts-sqlite] Simplify class declaration for TwoWayContactSyncAdapter