Reworked file/directory ignore functionality.

Now it's possible to ignore relative directories and
file patterns as well as absolute. .svn and .cvs dirs
are ignored out of the box. Absolute patterns should
start will a leading '/', otherwise a pattern is
considered relative. There might be some performance
implications at this point, hopefully most users will
not be affected by them.