Added task and condition listing to study

Updated ode and documentation for get allIds from study to return
either a list of studyIds in the database or a list of tasks and
conditions for a specific study.