[ticket/12483] Move schema files into tmp/ and only copy them when needed

PHPBB3-12483
Merge branch 'ticket/12470' into temp

* ticket/12470:
  [ticket/12470] Correctly set up the php extensions
  [ticket/12470] Fix setup of phpbb
  [ticket/12470] Move setup of phpBB to new .sh
  [ticket/12470] Move setup of database to new .sh
  [ticket/12470] Move phing sniff into new .sh
  [ticket/12485] Broken tests due to absolute exclude
  [ticket/10521] Fix broken tests using set_cookie
  [ticket/10521] Update docblock of set_cookie for new HttpOnly param