Added code to check environment variable defining primary nic

This is to address issue: https://github.com/HuaweiTech/bosh/issues/6

Local test passed:
<pre>
cd go_agent
git submodule update --init --recursive
export PRIMARY_IPv4_NIC=wlan0
bin/test 
# => PASS
</pre>