Changes to fix user_id uniqueness, data update on launch, and grade sending.

Fixes the non-unique user_id across multiple systems problem and make sure to update the Moodle data if any of the data is changed on an incoming launch.

Different systems can use the same secret but should use different keys.

Also improve the grade sending to send grades that are in the range 0 - 1.0.