Made the C++ code compile in release mode on OS X.
Relpaced build_handlebars_templates.sh with the more portable build_handlebars_templates.py.
Merge branch 'next' into sam_osxbuild
Adjusted build_handlebars_templates.py to fail when a script tag lacks an id.
Merge branch 'next' into sam_osxbuild