Corrects a typo, checks that the number of dates and the number of values are equal, Warns instead of reporting an error if the basic_plan is applied on a shock that is used in a flip_plan (flip_plan has the higher priority)
(cherry picked from commit 4dc21b48e92834efa9abd9c5ffb8a711dafd74ae)
Adds setdiff method to dates
(cherry picked from commit d325ad15b2b0f475d301da374661b5da9cc394b4)
Fix a few minor errors in the dseries doc.
(cherry picked from commit cb0439345cc677ab83a1bbc9a2e5ec442418f515)