[FEATURE] Add average calculation method
Based on Dirichlet prior probability distribution
Sponsored by: CentronetMarketing, MovingDirectory
Fixed broken acossiations in Rails 4.
Merge pull request #50 from murrekatt/master

Fixed broken acossications in Rails 4.
Merge pull request #40 from CentroNet-Marketing/dirichlet-avg

[FEATURE] Add average calculation method
rails 4 implementation
coffee script name is changed
letsrate.js.erb is changed
generator is changed
readme
1.0.9
jruby is removed
Made some changes so the gem stays Ruby 1.8 friendly.
Fixed but in rating_for_user where the max star count was equal to the actual rating.
Ignore .idea