Account: Add a scoped pointer to the ownCloud theme.
folderman: make escapeAlias public as its now used in accountmigrator.
cfg migration: Add a account migrator class.
ownCloud Theme: Implement appName() and appNameGUI().
Account: Add a wasMigrated flag.

If an account in a branded client was migrated from a former ownCloud
configuration, the method wasMigrated() will return true.
FolderMan: Migrate folderlist if no folder definitions can be found

and the account indicates that it was migrated. In that case,
read the folder definitions from the ownCloud config directory.
Account: Read settings from ownCloud config if no branded exists.

If there is not yet a config for a branded client, but one for the
"normal" client targetting the same URL, it will be migrated.
Account: Added missing include statement.
AccountMigrator: Do not inherit from QObject as it is not needed yet.

As requested by Danimos review.
AccountMigrator: Read path from QDir::fromNativeSeperators(), add debug.
Poll for long running PUT: WIP

Some PUT, may take a long time on the server to process (for example, the
last chunk). It may take more time that the timeout.
So in that case the server may reply with an url that we can poll for the etag

This patch is still work in progress
Bumped the release number to 1.6.2, Changelog additions.
shibboleth: Fix connection when the URL do not have a path

When the url do not have a path (for example: "http://example.com" as
opposed to "http://example.com/"),  its path is not a prefix of the
root path of the cookie (usually '/')

By adding the dav path, we make sure the URL has a path.

This made a bug when the owncloud url was just a domain name and did not
have a path
Long Running Put:  store into the database so they can be resumed at startup
Long Running Put: Better error reporting
Fix issue#2004 -- mandir must be man1, not man
Long running put: fix some bugs
wizard: don't call initializePage

It is called automatically by QWizard and do not need to be called explicitly

But setVisibla(false) don't really have an effect there since show() is going
to be called on the page
Merge pull request #2013 from owncloud/fix-man-dir-16

Fix issue#2004 -- mandir must be man1, not man
csync oC Util: set field flag correctly to avoid etag memleak.

The fields varialbe should contain or'ed flags of the fields set
in the csync_vio_file_stat_t struct. The problem was that the field
for CSYNC_VIO_FILE_STAT_FIELDS_PERM was assigned rather than or'ed
which makes the release function for the struct not freeing the
etag memory => memleak.