Update API.md

Document the '<rootDir>' token + update the default value of
`config.testPathDirs` to reflect that it uses this token