Added define_function_arg calls to non-content-revision objects and to create_type and create_attributes, so we can do these operations via Tcl. Content revisions, due to LOB/non-LOB issues and the incompatibility of LOB operations between DBs need their own "smart" Tcl API.