Include ~betaX in owncloudcmd --version, if beta.
Include (git GIT_SHA1) in owncloudcmd --version, if no MIRALL_VERSION_BUILD but GIT_SHA1 is defined.