Refactor Session::Password::InstanceMethods

Because it currently has an F rating on Code Climate: https://codeclimate.com/github/binarylogic/authlogic/Authlogic::Session::Password::InstanceMethods

My changes:

- extract method `configure_password_methods`
- add comments labeling the sections of `validate_by_password` (too hard to extract methods)
- DRY up `invalid_password` getter and setter by using `attr_accessor`
Refactor Session::Cookies::InstanceMethods

Fix the two complex methods pointed out by Code Climate: https://codeclimate.com/github/binarylogic/authlogic/Authlogic::Session::Cookies::InstanceMethods

My changes:

- extract local variable `cookie` within `cookie_credentials`
- extract method `generate_cookie_for_saving` from within `save_cookie`

Code Climate also points out a duplication issue with `timeout.rb`, but it is a false positive.
Refactor method in Session::MagicColumns::InstanceMethods

refactored the complex method `update_info` as recommended by Code Climate: https://codeclimate.com/github/binarylogic/authlogic/Authlogic::Session::MagicColumns::InstanceMethods

I moved two `if`s to separate lines in `update_info`. This makes it clear that every section of the method checks `record.respond_to?` before setting a column value. Before, it looked like the first two lines did something substantially different from the rest of the method. This also more clearly separates the method response checking from the calculation of the correct value.
Fix “Instace” misspelling in test name

“Instace” → “Instance”
Merge pull request #425 from roryokane/refactor-code-climate-issues

Refactor classes with low Code Climate grades