autotype + bug fixes

Hi Stefano,

I have added autotype support to leaflet-search and fixed a number of bugs.

The autoResize limit still needs a bit of work.

Regards,

Andreas