Locally Epistatic Models for Genome-wide Prediction and Association by Importance Sampling