A few changes to bring nanohttpd up to date

Update to use the recommended java threadpooling system.
Update to use the recommended java temp filing systems.
Migrate to java NIO.