Merge hohlmannj's changes into xlevus'

Apologies if this notifies the wrong people.

...lask_util_js.py to optionally use app.config["WEB_ROOT"] when building URL rules. This supports the approach used in Serendip+Ity to support Flask app installations in server subdirectories.