REGEN: doc
CLEAN: unused code
FIX: compiling in src directory

Fix compiling in directory without package.json or appweb.conf
FIX: Re-creating cookies in the same request.

Second cookie request was being impacted by cookie removal header
UPGRADE: osdep with TPS definition.