Check-manifest pre-commit hook.

- Added check-manifest pre-commit hook.
- Implement suggestions from check-manifest.