Add Letsrate for rating system. Perform some modifications for Rails4 compatibility