Practical Machine Learning Safety: A Survey and Primer