Configurable version of the trusted oid mapping file

* Introduce parameter `trusted_oid_map_file` in the _master_ section.
* Uses hooks to delay file parsing
* Properly handle errors