Calculate result score using grademax rather than assuming it's out of 100

This results in a true percentage being sent back to the consumer.
Merge pull request #5 from pauln/grades

Calculate result score using grademax rather than assuming it's out of 100