* helm.el (helm-append-at-nth): Fix when index is > len seq.
* helm.el (helm-add-action-to-source): Fix when source have type attr and no action attr.
* helm.el (helm-add-action-to-source): Check for action attr before type
  in or form.