[v7r0] Several fixes

FIX: dirac-install-web-portal - can install both new ( default ) and old portal
CHANGE: Databases - cleaned code for creating tables