command line templates: add formatnode filter
This will print a full hash node with --debug and a short one otherwise.
Use it with some default templates and in map-cmdline.default to print
the parents. This should fix issue538.
#!/bin/shhg init aln -s a linkcd aecho foo > foohg statushg status ../link