Added to sagetypes.h and sage.c

Added new structs to sagetypes.h for sanity reasons.
Made some progress on the disgusting updating code (I'm sure it's just
as slow as viewing 4chan over http).