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.
Split into three separate projects: library, gui and cmd
Fix includes in mac specific headers
OS X explicitly requires the neon include path to be set
Try to handle BUILD_LIBRARIES_ONLY correctly

Also, try to fix OS X build
Merge remote-tracking branch 'origin/master' into move_lib_to_sep_dir
Make krazy target work again
Make NSIS installer work with new structure
Merge remote-tracking branch 'origin/master' into move_lib_to_sep_dir

Conflicts:
	src/gui/folderman.cpp
Always use the dummy crendential while trying to determine the credentials

Otherwise the SHibbolethCredential may be set and it has hook to intercept 401

This should fix issue #1908
Propagator: Fix local file name clash detection.

Need to normalize the output of QFileInfo::canonicalFilePath() before
comparing to a server side path.
See https://bugreports.qt-project.org/browse/QTBUG-39622

This fixes #1998 and #1999