temporarily removed lib2/ftsearch.inc.php for a clean move
moved lib1 search code to lib2 or away
ported search.php & tools to lib2, and ...

- fixed logentry sorting for logs with identical date
- fixed &auml; etc. display in short descriptions on search results page
- try to select a matching language for the short descriptions
- added some translations
- hide download and map links if no search results (updates #235)
- nicer display of selectlocid page
- use site-dependent urls in GPX, LOC, TXT and KML
- unified XML encoding, now all done via two functions in lib2/util.inc.php (updates #121)
- some preventive XML encoding adjustments in GPX
- removed XML encoding in LOC CDATA section
- improved charset conversion for OVL and OV2 output
- some optimizations
- discarded lots of obsolete code
- disabled debug mode force_compile in OcSmarty class (performance)
re-added search1.php for testing
merged master