WeightedSelector: Return nil when no elements available

Previously, exception was raised in this condition:

    TypeError:
       no implicit conversion from nil to integer
     # ./lib/liquid/weighted_selector.rb:38:in `pick_one_with_index'
Merge pull request #6 from liquidm/weighted_selector__empty_elements_fix

WeightedSelector: Return nil when no elements available