Fix the presubmit step

- Fix the runtime function test auto generation.
- Fix the coding style issues.

TODO(ningxin): squash into patch 1

Conflicts:
	tools/generate-runtime-tests.py
Fix "Extension or internal compilation error."

  change the function SetProperty ==> AddNamedProperty