Move nsenter C code to separate file

Signed-off-by: Michael Crosby <michael@docker.com>
Add linux style formatting

Signed-off-by: Michael Crosby <michael@docker.com>