Basket fix

Line.items_required must be nullable for Basket.add_product() compatibility making a retro compatibility with the former Lines with Line.items_required=0, will raise a custom exception  when 
Line.items_required is Null and self.stockrecord_source == self.OPTIONS_CALCULATOR