Implement first step of highcharts into master

@houndci 

Added a few security measures and refactoring from the last PR, once merged will begin work on the next step of charts testing.