Fix endpoint closing (and the error path of open): * munmap all mapped segments so that closing the fd actually releases the endpoint   in the iface array * free the partner to myself if open fails * fix comments
Fix endpoint closing (and the error path of open):
* munmap all mapped segments so that closing the fd actually releases the endpoint
  in the iface array
* free the partner to myself if open fails
* fix comments



git-svn-id: 29c1264a5cf5e3532df57b06678e7347571c1a3c@1174 f1ba3bf5-cb5c-402b-92a9-7c6bdc83a356

ananos/xen2mx,ananos/xen2mx,ananos/open-mx,ananos/xen2mx,ananos/open-mx,ananos/xen2mx,ananos/open-mx