Hackers suspected of breaching a popular South Korean mobile app and stealing the personal data of more than 990,000 users have been arrested, local police say.