Megaupload co-founder granted bail, New Zealand judge rules he’s not a flight risk