Update to pre-commit hook and misc additions.
Adding .gemrc.