[ticket/13211] Move console migrator output handler to db folder

PHPBB3-13211