Use heredoc in processor tests

With `strip_heredoc`
Add nokogiri dependency
Parse HTMl for imports
Parse HTML fragment

Instead of entire document
Parse Scripts
Parse Styles
Merge branch 'parse-html'