Parse floats to ints in CourseGrader model.

Fixes STUD-826.
Acceptance test for fixing rounding error on weight.
Merge pull request #1300 from edx/christina/fix-rounding-error

Grading rounding error.