Big rewrite of the update polling code and restructuring of object tables in the database
Refactored object saving/loading code to support new database structure.
Objects no longer have an is_active flag, and are archived immediately on change/delete, so we don't need to worry about whether or not they're active or inactive. If they exist in the database main tables, they're active. Kept version numbers though, so we only update the ones we care about that are newer than the ones this client has in memory.