Cleanup and simplify, preparing for 1.0

 * Removes the `dir` option, always use the `source` from the AST
   position.
 * Change tests and example to use simplified options
 * Make all file paths (including alias paths) relative to `root`
Use hasOwn to check for alias path
Update dependencies and use caret ranges
Add travis file