Completed unit tests for hgd module
Fixed `module/hgd': closes nima/site#3

Updated `module/hgd': hgd reqirement: one entry per line.
Specifically, the mongo results have been reverted to one per line.

Also fixed error checking on the return of the sets script.
New `module/gpg': split out from `util:gpg*'

Also enabled it.
Added `module/gpg' unit tests: closes nima/site#5
module/util util:secret() WIP
Overhauled (and moved) libsite

Now that there is a libsh, it makes sense to move libsite there.

Took this opportunity to clean up the long list of messy global
environment variables therein, and thus did the same for each use-case
of these variables.
... lib/libsh/libsite/unit/dynamic.csv
... lib/libsh/libsite/unit/static-util.sh