How I went from scoring a D- to an A+ on a site security report in a few hours, some coffee and of course, a little code.