Cleaned up tunDevice configuration handling.

Fixed a bug where not having a tun_device in the config would cause an error when retrieving the config via 'cjdrouteconf get'. Also fixed an issue where the default tun_device was being set to 'nil' if one wasn't listed in the config (e.g. in the default cjdns config).