Zendaya and Robert Pattinson star in a blackly comic romantic thriller that turns a dark secret into a pranky plot device