add skeleton main file and various wscript enhancements
add pugixml and jsoncpp to build and add waf binary