Use amdetective infavor of parse.js for parsing AMD dependencies.
Use path.resolve() to resolve relative paths in AMD dependencies instead of substack’s resolve lib since it works as expected (fixes #33).