Fix $__dirname when the compiled css is at a different domain
Add unit tests
Add travis ci