Avoid warnings in Ruby 1.9.3

Liquid produces a couple of warnings when required in Ruby 1.9.3 (via `ruby -we "require 'liquid'"`) and a library should not do that...

I also fixed an assignment in `lib/liquid/context.rb` that did not have any effect outside of the iterator block because the variable had not been defined before.