Removed unused Q_OBJECT
Add a header file for owncloudcmd.cpp to avoid (auto)moc problems.
Auto generate the Export header.

This should fix oem builds.