Make moveit_warehouse_save_as_text save the queries as well as the scenes

This allows moveit_warehouse_save_as_text to save the initial robot states and queries in addition to saving the scenes.