Perverse Sheaves and Knot Contact Homology