Use select2 library for auto-completion

This library has better auto-completion based on substring match, than prefix match in the original one. Also updated the jquery version to 1.9.1.