Fighting between Myanmar's military and myriad rebel factions has spilled over the long border with Thailand, which hosts millions of refugees from Myanmar.