added get_next_id to grab the next id from a sequence
added now to insert the timestamp in whatever DB format.
added get_client_statuses() for clients pages
modified add_client and add_job to use $db->now()
fixed add_job to use the sequence. made the code simpler.
fixed clients and clientgroups addition.
heavily modified the script addition. uses sequence
also adds tags passed to it now.