Added support for table prefixes (Anope only for now, Denora will come later)
Some cleanup and fixes