Added additional validation to measure and device creation.  Automatically alter data table to add newly created measures.