Table prefix+various bug fixes

- Added support for user-set table prefixes
- Fixed some install bugs (mainly due to wrong paths)
- Added quotes around array keys