Small fixes and improvements in installdb.pp

Hi,

I have changed a little dependencies during extraction for oracle 12.
Also, I changed how wait for installer is implemented - instead of fixed 240 second sleep, it checks every 10 seconds if installer still works.

Regards,
Garagoth.