Use require.resolve() to detect where the executable of typedoc is located.

If typedoc is already installed in your node_modules and you install gulp-typedoc, the executable of typedoc is not found. Using require.resolve() we can more confidently detect where the executable is located.