Sanitize any html for github activities. Also escaped sql query inputs.

Added sanitization of github data to fix #33. Also improved sql escaping.