Merge pull request #845 from kevin-brown/master

Better imitate native experience on iOS
delay creation of mask until opening.
allow hiding search field permanently. #189
add [it] locale transations
fix placeholder problem. fixes #853
do not take over mouseup event in dropdown. fixes #857
fix placeholder sizing. fixes #430
allow data helper to be a function
Fixing when the data helper is a function for the local query

Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
TypeError: Cannot call method 'positionDropdown' of undefined
added spanish translation. fixes #883
Because a shared options object is passed around when creating each instance of a select2 widget, the query function that was built would use the last ajax url that was set on the options object for all select2 widgets. By using a variable scoped to the closure, the ajax url can be maintained per select2 instance.
Merge pull request #886 from orloffv/patch-1

TypeError: Cannot call method 'positionDropdown' of undefined
Merge pull request #893 from bgertonson/ajax_url

#608 fix to allow distinct ajax urls
fix ajax url() context. fixes #895
fix ajax url() context. fixes #895
fix ajax url() context. fixes #895
added Hungarian translation
Merge pull request #901 from 1ed/hungarian-translation

added Hungarian translation
Remove -o-box-shadow since it is not needed.

Opera implements box-shadow without a vendor prefix, so -o-box-shadow
is invalid.

See https://developer.mozilla.org/en-US/docs/CSS/box-shadow