Re-factor task to use build components

* Can now build packages by fetching files in component.json
* Keep ability to preprocess and validate plain CSS files