aptcc: Always respect the noninteractive flag

This should unbreak offline-updates on Tanglu/Debian.
This patch also fixes some memory leaks.