Remove unused hooks

These are superseded by functionality provided by other hooks and are no
longer needed.
Add ImageOptim hook
Change color highlighting of hook output