A Generic Machine Learning Framework for Fully-Unsupervised Anomaly Detection with Contaminated Data