Add an option to return a flat list
since database.all_files() returns a list of all files in bob.bio.base but here it returns a tuple of lists, this merge request adds an option flat
to make behave similar to bob.bio.base.
Edited by Amir MOHAMMADI