database checks if properties are the same

if they're not the same (or old==new raises an error) a warning message
is issued.
xy model now stores quenched disorder in database