Fix REST API Problems query which had an improper JOIN.

Also added hint counts to the Problem query.
Show currently active students via sockJS server.
Trying to deal with the student table not updating fast enough.