Custom getter/setter for BCrypt::Engine.cost

To maintain backwards compatibility for people who were manually overriding the `BCrypt::Engine::DEFAULT_COST` constant externally.

Via @tmm1 on https://github.com/codahale/bcrypt-ruby/pull/63