[libcommhistory] Added getter for commhistory database data dir