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'