Create component.json and add d3 as dependency

Also updated .gitignore to ignore app/components and components/
directories (we don't want to commit the vendor code)