Replace wrapFormElementWithError() for 2.4

Widget::wrapFormElementWithError() is depreciated from 2.4 of Symphony.
Updated to use Widget::Error().
Merge pull request #151 from domsammut/master

Replace wrapFormElementWithError() for 2.4
Merge pull request #154 from hananils/development

Correctly save configuration
Merge pull request #155 from Solutions-Nitriques/patch-1

Minor fix for 2.4 (Version 3.3.1)
Update extension.meta.xml
Merge branch 'development' of github.com:hananils/datetime
UI fix to insure the right header height

This change applies to when the user removes the end date of a range.
The problem was that the old, two inputs tall size was kept, preventing
the calendar from being complety hidden.

The proposed fix uses an old and dirty hack: layout trashing.
It basically removes the end input from the layout, asks for a re-layout
by triggering both update and set size events and then reverts the
initial display value and starts the animation.

There are other ways to fix it, but since the system is event based, I
afraid it would take to much effort.
Release 3.4.1
Merge pull request #158 from DeuxHuitHuit/issue-157

UI fix to insure the right header height