[ticket/11574] Fix various path issues in the updater

PHPBB3-11574
[ticket/11574] Fix table prefix in database updater

PHPBB3-11574
[ticket/11574] Add trailing slash for consistency

PHPBB3-11574
Merge pull request #7 from igorw/ticket/11574

[ticket/11574] Fix various path issues in the updater