Accept slashes in names, with exceptions.

The closes issue #29.
Merge remote-tracking branch 'tobez/master'