fix the little flaws found on http protocol that is used,
one of the web using the http protocol which is already supporting more secure protocol,
which is https
* Remove trailing spaces
* Setup Bundler in some scripts
* Update grammar index
* Make prune-grammars script to be callable in a script directory
* Prune unused xquery grammar repo
source.xq by language-jsoniq is actual tm_scope for XQuery.
* Remove xquery submodule
git submodule deinit vendor/grammars/xquery/
git rm vendor/grammars/xquery/
* Fix invocation of script/list-grammars
This fixes#3339.
* Make add-grammars script to be callable in a script directory
* Generate samples.json before running list-grammars
list-grammars requires linguist.