Feature/rails 4 support

@rossjourdain can we merge this and update the gem version? Or is more testing needed?