api: cleanup install_local doc string and added it to api doc

the install_local is a very useful method for installing local .rpm files, so it should be public api