Add Final Submission Details and Front codeviewing changes

- Frontend now displays final submissions
- Fixed encoding bug
- Changed view. No more diff/view/download. It all goes to the diff page (and then can be downloaded/viewed)

![image](https://cloud.githubusercontent.com/assets/882381/5115889/f9e9a874-6ff9-11e4-8a40-3c2f7a0dd432.png)

![image](https://cloud.githubusercontent.com/assets/882381/5115908/23126056-6ffa-11e4-8e6c-c30a6ee47e35.png)

Nevermind, found where it was used.