Add optional parameter to getProjects/getDatasets to set graph loading

This change allows users to retrieve unloaded objects using the  getProjects/getDatasets(session, ids, false) signature