AutoMS: Automatic Model Selection for Novelty Detection with Error Rate Control