Awood/server side quantity

Please give this a thorough review.  I am especially curious about the implementation of QuantityRules.isValid().  I think what I have is a little naive regarding time-zones, but I don't know of a better way right off hand.