Add file to keep track of last *compiled* commit

Previous workaround would store in infotable the current
commit, regardless if the binary was compiled on that or
not.
Also, add some debugging prints in primal heuristic.