vptranslator: rewrite

Rewrite vptranslator (the thing that transform a ValidityPattern in human readable form).
Just comment why is it working?
(it's ordered, and every period has 7 days starting on the same day of the week, so there's no over-lapping)