Fix some scrutinizer issues.

- Simplify Response->flushHeaders().
- Fix some MySqlDb nitpicks.