Make path.resolve work similar to the node.js version and add test cases
 * Works backwards, joining the arguments until it resolves to an absolute path. If an absolute path is not resolved, then the current working directory is prepended
Treat Windows absolute paths without a separating slash as non-absolute
 * "d:" is absolute, "d:invalid" is not absolute, "d:\valid" is absolute
 * this protects against "d:invalid" resolving to "d:\nvalid" due to how getRoot functions (always appends the trailing slash)