Added useRelativeBase functionality.
Merge pull request #4 from takitapart/master

Added option to use relativeBase, for subdirectory support.