Move StyleGuide to app/models

This fixes a require issue and moves `StyleGuide` out of lib.