Implement database config script and websetup

Adds database setup and basic RT setup as well
RT should be at a login screen at http://ip-address/rt