added valgrind data to DB
Trying to bring valgrind log to submission view -- without luck :-(
No output when valgrind log is not present
Enhancing Valgrind tests
* Use $RUN_VALGRIND and $VALGRIND_OPTS from .tmcrc to control the tests
* If there are errors in Valgrind log, fail the exercise
Make pastebin submissions visible to non-admit user only if the user
has completed the exercise earlier
Split /courses/:id.json off of /courses.json
Integrated new spyware server.
Merge remote-tracking branch 'PasiSa/master'

Conflicts:
	ext/tmc-sandbox
(rm tabs)
(rm old test)
merge
fix url
added paste link to submissions, where paste is available
added before_create hook for setting paste_key
add paste_key to pastes and set pastekeys to all submissions, where paste available
added required logic for showing paste and no paste files