Patch to generate sync profile whenever an account is created

Whenever an account that has a sync service is created, this patch
creates a corresponding profile XML for that account. The created
account should have a setting "remote_service_name" the value of which
should be equal to a service domain name. For example, it should be
like "memotoo.com", "yahoo.com" etc. The profile XML files are created
with names like "memotoo-<account id>.com.xml". This value is again set
as an account setting, using which an account can trigger sync

Signed-off-by: Sateesh Kavuri <sateesh.kavuri@gmail.com>
Added wrapper API method to return the last sync status

The convinence method currentSyncStatus infact returns the status of the
last sync status and whether any sync has infact happened anytime. If
not this method, the SyncResults class can also be used to obtain the
last sync result (SyncProfile::lastResult()) and the major code can be
checked

Signed-off-by: Sateesh Kavuri <sateesh.kavuri@gmail.com>
Merge pull request #22 from kavuri/extend_profile_api

Extend profile api