Fixes view and preview buttons on unit page
Mark UnitPublishingTest as a test.
Merge pull request #4436 from edx/benmcmorran/fix-view-buttons

Fixes view and preview buttons on unit page