Add ability insert units into database

This required fleshing out the reprJSON method on Unit. It's still far
from perfect. I need to-
-Save unit instances in a different table than unit prototypes
-Make sure it works for all unit types
-(Ideally) Generate param list from the reprJSON method
  -This would allow me to make truly generic methods for insertion into
  various tables