LocalJumpError on Ruby 2.1.2, Rails 4.1.4

The exeption was raised here https://github.com/toy/image_optim/blob/master/lib/image_optim/railtie.rb#L9

Also did some cleaning up...