added several functions

added some functions doing to most common database actions.
The functions in question are
add_one; add_row;  del_row; get_last_id; get_row; get_sql; get_where;
update_table; update_field