Fix for dots in id

As described here #2210 and #2218, commit for #1841 broke dots handling in ids. This PR replaces dots with underscores when building event handler name. Id in container's dom element is set in unescaped version.

Dots are treated specially in jQuery for event handler name - they represent namespace parts. So best would be no dots, as they misleadingly suggest namespaces for jQuery.

Here is jsFiddle with PR select2.js version - first select's id contains dots, [ ] and minus chars. http://jsfiddle.net/nzt7g/4/