North Korea clinched a thrilling victory after a penalty shootout against Japan in the final of the U17 Women's World Cup.