app.js: Make plugin name check not case sensitive
Add installdir for database