Merge pull request #1778 from authmillenon/netdev-test-env-fixes

netdev.tests: Add fixes for environment variables
nativenet: Apply coding conventions
nativenet: Supply net_dev_t support for nativenet