Removed argument and root variable in assert_select proc.
Simplified the first delete_if loop in assert_select to use Loofah's text method.
Removed more lines of code in assert_select.
Removed more redundant lines. Removed fix_content block that circumvented a bug in html-scanner.
Changed comparison from HTML::Node to Nokogiri::XML::Node in assert_select_encoded.
Changed css_select and pulled out response_from_page from Selector.
Updated selector to not have reponse_from_page.
Removed the custom selected proc. It's no longer needed.
Renamed Selector to ArgumentFilter. Put code from HTMLSelector to ArgumentFilter.
More tidying up of ArgumentFilter.
Added filter_matches to reduce line count in assert_select.