fix extensionsPath option

* The use of the method path.resolve allowed to use a relative path to extensions
*  extensionsPath option works correctly and uses exactly specified directory (instead it's parent)
Merge pull request #18 from ErBlack/fix_extensionsPath

fix resolution of relative paths in the option "extensionsPath"