Obtain all bets placed on a given market. Pass marketId = 0 to obtain bets for all markets. If deatiled is true then also return details of Matches when betStatus = M