Added title attribute to options and optgroups

Minor patch to close #1692. The `title` attribute from the original `<option>` and `<optgroup>` are preserved when generating the `<li>` for chosen.