[FIX] check dependencies only when the module is installed

Also list uno and unohelper as external dependency so that
report_aeroo_ooo can't be installed in the first place if this
module is missing.