rename add_object_command to add_action

add_object_command("open", "do_open_function");
is now:
add_action("do_open_function", "open");
WARNING this changes basic objects and might cause issues when
upgrading.  This is inline with more traditional docs and makes sense at
this point.