SNOC: A Monte-Carlo simulation package for high-z supernova observations