Add "begin" and "end" dates to legislations to be able to apply legislations outside their given dates by extending them.
Add missing log declaration.