Add fs.NotifyOnOOM for out-of-memory notifications

See dotcloud/docker#6212 for more discussion.
You can group these three defers into one defer  `defer func() {...`