Add environment.h,cpp to XCode project and restore build from XCode.
htdocs: new archive interface. add file, rename file, delete file works. But edit doesn't  work yet.
Merge pull request #151 from simartin/xcode_build_environment

Add environment.h,cpp to XCode project and restore build from XCode.