remove: Base._cleanup
remove: Base.localPackages
remove: dnf.yum.misc.re_remote_url()
Handle remote URLs. (RhBug:1030297)

Set the tempfile extension to ".rpm", add_cmdline_package() needs that.
Unlink all tempfiles after the transaction has been run.