fixed bugs

Initial Natural weights implementation
Added a weight column to grade_grades.
fixed the local_gradebookcoredb install code