remove unused page_widgets.php include and provide a general function for loading sql from file to use in the cdav migration