Remove select2-rails from Rails frontend gem

Bump select2-rails to ~> 3.4.1 in backend gem

Update helper `select2_search` implementation due to latest changes on
select2 generated markup, had to find a new way to grab select2 element
id

Fixes #3457