Test for references instead of # of lines

Should prevent nested bower blocks from producing a js or css reference
when no assets are within the block.
Check whole block globally for references rather than each line.
Add test for whitespace within script tag
Merge pull request #24 from Shabonkerz/master

Check for references rather than line length.