Rails 4 compatibilty

Hello,

@Azdaroth started a Rails-4 branch, to make SimpleCaptcha compatible with Rails 4 final.
We made some minor adjustments and are already running SimpleCaptcha in a Rails 4 production app now.

Maybe this is useful for other people as well.