Add tests for netlinks and fix race condition in InitPostStart.

1. Check that container is in running state in init post start, so we get the right pid.
2. Tests for netlinks.