SERVER-7268 Add numactl to upstart script

This is almost identical to the numactl logic in our
Debian init script and similar to the logic in the RPM
init script.
SERVER-12993 don't take write lock until a valid insert is detected
SERVER-13069 nicer and slightly less verbose distributed lock messages
SERVER-12975 Write command to mongos checks invalid NS
SERVER-13039 handle subnodes which require an index during plan enumeration