Run commit check before syntax check

The syntax check takes quite some time so it does make sense to check
first if all changes are committed.
Prevent committing release changes until build has finished

Since the rspec changes are now run during build the release changes
shouldn't be committed until everything did build without issues.
Merge pull request #367 from SUSE/fix_release_script

Fix release script