FIX: CSS detection regular expression falls in long busy loop with certain content.
Prevent excessive backtracking by making simple_selector pattern more restrictive.
Also accept + and > as combinator, and * as element name.
Merge branch 'mimetype-detector'