BUGFIX: isinstance(str) -> isinstance(basestring)

Support unicode too.

(cherry picked from commit e67ca0688aa293e88b28b8539e840abc26b3da48)
Add signatures for OpenSUSE 12.3 and 13.1.

A downstream patch from openSUSE systemsmanagement repository.
.gitignore: Add some additional stuff to ignore.

    - .egg-info directory (setuptools)
    - tags (ctags)
    - test.log (setup.py test)
make clean: Less warnings

Just use -f everywhere to get rid of warnings in case some of the files to
clean do not exist.
Fix tags target. At least here there is no -c option.

$ make tags
find . -type f -name '*.py' | xargs etags -c TAGS
etags: AGSi: unterminated regexp

While at it ignore the build/ and .git directories when generating the tags.
Correct file permissions on opensuse and sles.

This is a downstream patch from obs. Corrected and adapted to opensuse.
Merge pull request #663 from jansenm/mjansen/upstream-opensuse-patches

Mjansen/upstream opensuse patches