Install ast-types from NPM instead of implementing lib/types.js.

Closes #23.