Case-Based Predictions: An Axiomatic Approach to Prediction, Classification and Statistical Learning