add stable hashes for patterns independent of a particular trip

addresses #1573
make stable hashes hierarchical in form patternhash:stoptimehash (more human readable)

addresses #1573