Making installer subdomain compliant

The installer now support the latest database migration and allows the
installation of Attract in a subdirectory. Doing so is not advised at
the moment as the application templates do not support this yet.