Write most of devstar score migration code

Still must do selected_for_scoring, gi scores. must decide about handling
cases of null, -1, or 0 counts (currently division by 0 gives 0.
-1 is converted to null since it means that part of amelia's program
hasn't been ran, and all division by null gives null)