The BYOD trend has been a popular way for people to use their own devices at work. But the practice often blurs the line between personal and professional, triggering security risks and other issues.