Increase number of pseudo fs nodes to 2048 and check limits

Also clean up some dead code.

The limit of 100 pseudo fs nodes is rather insufficient for 1000 exports...

To make it somewhat sane to test, I increased the number of path elements in
a pseudo path to 128.

Moved set up of pseudo fs until after creating root entries. This assures
that the pseudo fs only contains valid exports (previously, an export for
a path that didn't actually exist in the FSAL would be instantiated in the
pseudo fs, and then the export would have been discarded, leaving a dangling
pointer for someone to trip on).

Also improved the logging within the pseudo fs.

Also check pseudofs_id in pseudo fs handle before dereferencing array.

Ported from 1.5: a0de6fb4a764ca4d049436eda750f9f7cce71275

Apparently 2.0 somehow wound up with two calls to nfs4_ExportToPseudoFS.
The 1.5 patch moved the call to later in init, so this patch removes the
earlier call to match the 1.5 code.

Signed-off-by: Frank Filz <ffilz@us.ibm.com>
Fix up READDIR in pseudo fs so it handles NFS4ERR_WRONGSEC properly

Allow READDIR with just MOUNTED_ON_FILEID to succeed even if NFS4ERR_WRONGSEC.

Also clean up some out of memory handling for READDIR, don't bother trying
to recover, just LogFatal.

Ported from 1.5: b37c3372278a5c07a4b6192ebdda4d723648d2d4

Signed-off-by: Frank Filz <ffilz@us.ibm.com>
Signed-off-by: Frank S. Filz <ffilz@us.ibm.com>
Don't check timestamp or length in creds when comparing v4 clientid verifiier

Confirmed ACE's comment. Clients create new creds so timestamp is a problem.

New creds might have a different group list, which changes length of cred, if
we don't care about group list, shouldn't care about cred length either.

Ported from 1.5: 2c309a762a38d58e660783ea7c264de02a3974d7

Signed-off-by: Frank Filz <ffilz@us.ibm.com>
Signed-off-by: Frank S. Filz <ffilz@us.ibm.com>