add econfig:open/2 qnd econfig:open/3 config

These functions allows us to open a config file and register it
immediately. If the file doesn't exist, it is created.