Add some validation and sanitization for the tooltip data

Catches errors with JSON format and ensures only allowed HTML elements
are being used inside the tooltips themselves.
Use same cleanup to display the JSON as well
Merge pull request #14 from washingtonstateuniversity/more-json

[PR] Add some validation and sanitization for the JSON tooltip data