Move pattern library view to h.testing

This ensures that it's only loaded in development.