Updated submodules.
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
validation not really neccessary, as it is constraned in db
Removed old spyware code and table.
Optionally store client time, nanotime and ip with submission.
Bump API version.
Update ext/tmc-spyware-server.
user/update: send user_field changes to spyware
Update ext/tmc-spyware-server
Update ext/tmc-spyware-server