Added Grant Element calculator to loan detail before_save
Upgrade to Ruby 2 and Rails 3.2.13