fix JSLint issues

switching from JSHint
make _scanImports to return an array of URLs

_scanImports was returning styleSheets but only href info is relevant.
@imports processing at related function was modified to handle hrefs
and to make it more readable.
fix typo and remove some empty lines
Merge pull request #8 from sebaslv/related-docs

minor changes after Kevin's review