Make select2 optional

I didn't see any dependencies on select2, so I added a check for it. This is the first commit pulled out of https://github.com/vollnhals/dependent-fields-rails/pull/9