GenericHelper#decode_date: added support for the format 'YYYY-MM-DD', changed 'day+' format to 'day', and restructured some code.
lpim.rb: Fixed event timestamps handling.

Event timestamps were not correctly interpreted, especially the 'floating' concept was ignored.
GenericHelper: refactored do_retry signature, and added :sleep option.