better thumbnail language, refs #911

extract to templatetag, remove old warning tag/template and
use in both layer and map info pages
Merge branch 'master' into integration