Rename function the pkg_deprecate to update_pkg_status

Adjust unit-test accordingly
Adjust the API used to deprecate/undeprecate a package
Adjust API documentation
typos typos...