Make #respond_to? calls compatible with Ruby 2.0.0

devise_invitable relies on respond_to? to decide when to override methods such as #confirmation_required? that may be defined by other Devise modules. In Ruby 2.0, #respond_to? returns false for protected methods unless you pass true as a second method argument. This change in behavior caused 6 test breaks, including delivery of confirmation instructions email after calling #invite! 

Tested with MRI Ruby 1.9.3-p392 and 2.0.0-p0 against mongoid (rake test DEVISE_ORM=mongoid).
Merge pull request #307 from oshoma/master

Make #respond_to? calls compatible with Ruby 2.0.0
use prepend_before_filter, closes #309
bump to 1.1.8
Fix testing in ruby 1.8
It's ruby_18
Issue on ruby 1.8 is nokogiri, not capybara
Merge branch 'master' into rails4

Conflicts:
	lib/devise_invitable/model.rb
change version