Added the possibility of using a GRanges or GRangesList as regions parameter for the parseRegions function

Signed-off-by: Charles Joly Beauparlant <Charles.Joly-Beauparlant@crchul.ulaval.ca>