add options support for getAst
only resolve valid cmd uri
coverage for iduri
delete useless code in ast
100% coverage
fix docs, and version bump 0.2.0