Submission reprocessor: tolerate DB connection loss
Added limitation for not to show pastes if paste is too old.
In this case if paste was created over 2 hours ago.
Merge pull request #148 from jamox/patch-1

Added limitation for not to show pastes if paste is too old.
Courses are public before `hidden_if_registered_after` date.
updated styles for extra fields
Cleaned up trailing white space
Upgraded dependencies
Added timestam to user status changes
(Time.now.to_f*1000.0).to_i
=> 1396117278006
Added json response for paste view
to be used by irc bot
JSON response contains
* Api version
* Message for paste
* Information about tests
* Processing Time
* Whether all tests passed