Add getDependencies and test based on stylus-brunch

Based on stylus brunch, it is basically the same.

I don't know if the test I did is that useful, but it covers the positive cases.
Did not test for comments, that could be done.

Cheers!