Create a Node API

Proposition to resolve #6 

Added `cli.js` to handle `argv` parsing
`component-extractor` input is an object containing extraction parameters, instead of `argv`

+ cleanup JSDOC and log
+ added `.gitignore`