KrakratCommon

Move common functionality to the KrakratCommon perl module. Currently,
this includes only the function for enumerating links in a stack.