Simpler version of pkg_repl()
ncm-spma functions: new implementation (preliminary) of pkg_add, pkg_ronly and pkg_del
(+ pkg_repl changes/fixes)
Debugged version of new pkg_xxx() function
(tested against GRIF configuration)
New pkg_xxx(): fix pkg_del() of an explicit version and pkg_add() without
an explicit version
(tested againt all GRIF nodes running 13.1.2)
pkg_repl(): fix misuse of append()
Merge pull request #185 from jouvin/spma-functions

Simpler version of pkg_repl()