Using implicit return so request_http_basic_auth works when invalid credentials are entered, fixes #265.
Use klass_name for cookie_key, since it falls back to guessed_klass_name. Otherwise a 'undefined method `underscore' for nil:NilClass' error is thrown when the session authentication class does not follow the {model}Session naming convention.
Added general_credentials_error to the list of used I18n keys

It is used in /lib/authlogic/sessoin/password.rb, but was not listed in the comments of i18n.rb
Fixing Authlogic::Session::Callbacks for new rails 3 callback system (the run_callback block serves different purpose).

Also fixes an http_auth test that wasn't caught b/c of the callback bug (reset the persisted session when testing http auth multiple times).
Minor fixes for Callbacks fix patch
removing previous cleanup (the splat seems to cause an error in REE/Passenger)
final fix for define_callback argument issues (passing a hash at end of args array)
Merge pull request #285 from tiegz/master

Fixing Authlogic::Session::Callbacks for rails 3
Merge pull request #282 from axelarge/master

Add general_credentials_error to the list of used I18n keys
Merge pull request #281 from crossroads/cookie_klass

Use klass_name for cookie_key, since klass_name falls back to guessed_klass_name anyway.
Merge pull request #266 from mvberkel/master

Using implicit return so request_http_basic_auth works when invalid credentials are entered, fixes #265.
Merge pull request #273 from expertiza/doc_fix

Fix documentation typo: s/mor/more/
refactor klass_name
Version bump to 3.1.0
bump version
Regenerate gemspec for version 3.1.0
Fix mismatch in comment
Merge pull request #288 from vijaydev/patch-2

Fix mismatch in comment
Raise an exception if a database connection is not established before using acts_as_authentic
Lambda wrapped authentic #logged_in & #logged_out scopes

Also included tests the the scopes are "rebuild" every time they're run,
but I'm not necessarily pleased with the solution (hence the excessive
comments). Maybe someone else has a better idea...