Adjusted the code to use the path.relative method instead of my crappy attempt. This helps especially in a dev environment for docular when npm link is used with sym links etc.. I also set some defaults in the options for docular to make things more legit as far as an options API