Synchronized with NeXpy distribution

Apart from general changes to tree.py, which are just mirrored here,
the NXFileRemote method, ‘_readvalue’, was renamed to ‘readvalue’,
since it’s now public.