BlackBerry Ltd. is preparing to turn its once-proprietary BBM secure-messaging system into a subscription service that app developers can build into their software to allow for seamless, encrypted communications.