Dependency tree

Will fix issue #2 

Not yet finished. To be merged when the all the following items have been fixed:

- [x] build a tree
- [x] flatten it
- [x] remove duplicates
- [x] read in content and inline it
- [x] respect css selector imports