move check for multiline string into SQL

Should speed up things a bit for 404 results as the 'uninteresting' geometries
never leave postgres.
Also moved the DB query after the cache check assuming that access
to the cache is normally faster.
add copyright header
add authors file
hide elevation section if no data is available
add attribution to pistes-nordiques and ASTER