Separate nsinit main from implementation. This is done inorder to package nsinit as part of docker binary.

Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)