git-style globbing

This adds git-style globbing, which also matches / in paths names as requested in #37.

My autogen is a newer version than the one used on the master branch, so I added the update in a separate commit (without the globbing change) in order to supply the changes to the build-files introduced by the globbing addition properly.