add pre_commit_hook
add pre_commit_hook

- It is used for automatic pre-commit validation through gerrit.
- When a new patch is submitted to gerrit, a jenkins job will run ${project}/cloudera/pre_commit_hook.sh.
- Verified in jenkins job: record-service-client-precommit-test.

Change-Id: I00eedd80c6ee73a10f5a7a27679c1ae03c59f7a6
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/8949
Tested-by: jenkins
Reviewed-by: Chao Sun <67a7c7fa38d7a5d78492d6f0626602205a411205@cloudera.com>
Reviewed-by: Li Li <b419e450efc447f700707dd63cfce1b5687f5e6d@cloudera.com>
Tested-by: Li Li <b419e450efc447f700707dd63cfce1b5687f5e6d@cloudera.com>

cloudera/RecordServiceClient,cloudera/RecordServiceClient,cloudera/RecordServiceClient,cloudera/RecordServiceClient,cloudera/RecordServiceClient