Added support for fetching credentials and settings from Accounts&SSO

Only support for "password" method and mechanism has been added to fetch
credentials. When there is further need for supporting SSO (whenever
such SyncML service is added), support can be added for that too. If
use_accounts=true in the profile, only then credentials and settings are
retrieved from SSO and Accounts. Else, the settings from profile would
be used. Settings the credentials in profile should be used only for
testing purposes

Signed-off-by: Sateesh Kavuri <sateesh.kavuri@gmail.com>
Added template syncml-sync file for a profile with that service to be
created

Whenever an account for a provider 'syncml' and service 'sync' is
created, such a template should exist in syncml so that a profile can be
created. Also fixed a silly bug in creating the iProperties object. With
this patch, SyncML sync can happen whenever an account for SyncML is
created. But Accounts should still tell the plugin the kinds of
supported databases

Signed-off-by: Sateesh Kavuri <sateesh.kavuri@gmail.com>