making the site address configurable

Needed for vemail to work properly.
fixes and tweaks to install files

Added a missing semicolon and fixed some formatting. Also updated the
example config file
update readme, more fixes

readme actually kinda updated now. Also fixed some issues where $con was
being called again in mysql functions, causing errors.