Prefer text/html to application/xhtml+xml for .html/.htm
Place application/xhtml+xml beneath text/html in priority, and also prioritise <!DOCTYPE html the same as the 'DOCTYPE HTML' and 'doctype html' forms, as it's very common to find it this way in the wild. This fixes issue #98 (closed).