Tools update

- put tools to tools/ directory;
- run.py: support to run altai_api.command.main();
- check_code.sh: minor cleanup;
- put pre-receive hook from my development VM under version control.

Change-Id: Ic85d94d3d5d32320c67f992b78afe9777c79037c