recursively check for changed imports

In response to https://github.com/Crisu83/yii-less/pull/7#issuecomment-20185395, this change makes the imports check recursive.

@schmunk42 do you mind testing this?