Various JS Fixes and tidy ups

Help calls now use JSON to get content - eliminates 2nd ajax call to get
title.
Tidies up modal dialog usage
webtrees js now lint compliant (although more work to be done