Merge pull request #78 from msyk/update-samples

[WIP] Update Samples to be compatible with CSP (Content Security Policy)
Update build.sh to add -p option of cp command
Modify build.sh to fix selecting build types
Update build.sh to add License.txt and readme.txt in dist-docs directory when selecting build type "2" or "3"
Merge pull request #79 from msyk/update-build-script

Update build.sh
One practice is added, and some bug fixes.
Merge branch 'master' into update-samples
Update Samples for Debugging to be compatible with CSP (Content Security Policy) and fix "calctest1" sample