Two types of log templates.

I added a option to select a template and I added a new template too.

You can use it with new template with parameter <b>LOG_TEMPLATE_NEW</b>
```
mysql_log(LOG_ALL, LOG_TYPE_HTML, LOG_TEMPLATE_NEW);
```

or with the old template with parameter <b>LOG_TEMPLATE_OLD</b>
```
mysql_log(LOG_ALL, LOG_TYPE_HTML, LOG_TEMPLATE_OLD);
```
The new log template contain a sidebar with info about the log, if there are errors or warnings, number for specific messages will increase. 

Default is the old template.

![log mysql](https://cloud.githubusercontent.com/assets/3403191/4308515/8ab6aa3e-3e93-11e4-84b8-7d6d5fbbe810.png)

![log mysql 2](https://cloud.githubusercontent.com/assets/3403191/4308514/8ab4f5ea-3e93-11e4-829d-fadb510ca70e.png)

Yes, the HTML type logging shouldn't be used if you want to log everything. Before reaching the 2GB limit, you'll likely encounter a different problem: your browser will crash (or just hang up) when trying to display a HTML log file bigger than ±400MB. I'll see if I can find a solution for this.