Lua scripting works on OS X

Fix headers / comments

reformat things

Fix corruption
Remove my local change
Merge pull request #53 from KLab/MacOSX_scripting

Mac osx scripting
Modified: Change from Samples to Tutorial.
Visual Studioでビルドエラーが発生するのでtypedefを追加。C99の完全なサポートは行われてない感じなのでとりあえずの対応
Merge pull request #59 from futoase/repair-of-document-for-android

Modified: Change from Samples to Tutorial.
Merge pull request #62 from mhidaka/feature/visualstudio

Visual Studioでビルドエラーが発生するのでtypedefを追加
Fix old document