Setup pre-commit with a few nice hooks

Fixes #14
Merge pull request #16 from SamWhited/pre-commit

Setup pre-commit with a few nice hooks
Added photo viewer