added fixed class
added show/hide popup functions
added record management functions
uniq_id will check if a record currently has the id it generated, and try again.
$options_defaults is now copied into $options using JSON encode/decode object copy trick
some defaults adjusted
delete_url command changed to delete_rule
added set_rule command