Remove path_hash everywhere except in the DB

* Add `canonical_path` (with index) to host_paths to compensate
* Change NOT NULL path_hash fields to NULLable (or we'd still have to calculate
  them)