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
Merge branch 'rails4' of git://github.com/scambra/devise_invitable into rails4
config for monogid 3
validate encrypted password only if required although the validation itself is not really needed since Validatable takes care of it