doctype is case insensitive in html5

Hi,

the declaration
```html
<!doctype html>
```

is valid HTML5, but treated as an "er"(ror) token, because of the lowercase.