Adds an action object to the action group and sets up the accelerator. If @accelerator is %NULL, attempts to use the accelerator associated with the stock_id of the action. Accel paths are set to <literal><Actions>/<replaceable>group-name</replaceable>/<replaceable>action-name</replaceable></literal>.