add skeleton main file and various wscript enhancements
add pugixml and jsoncpp to build and add waf binary
Merge branch 'master' into mac-fix

Conflicts:
	README.md
	wscript