Fixed some style things
Fix variables in Detail
Refactor build_detail
Merge branch 'case-detail-tabs' into case-detail-tabs+share-fixtures