setup needs to be a public method in order to be callable from dav4rack in ruby 2.x
if ruby >= 2.0, send true as second argument to respond_to? in order to also check protected methods
Avoid possible escaped single quote in generated salts
Merge pull request #14 from kristianm/ruby-2.x-fixes

Added support for ruby >= 2.0