Many in the tech community were shocked when Snapchat balked at Facebook’s $3 billion acquisition offer in 2013, but developments such as a one-touch integration with Shazam indicate Snap, Inc.’s prescience in scaling the platform.