Move loading of hyperref and showkeys package

The hyperref redefines many LaTeX commands and should be loaded at the end.  In addition the showkeys package is designed to be loaded after the hyperref package.