fixes issue #4 when three character colors are used
fix hex issue when r,g, or b are single digit

appends leading zero if r,g,or b are single digit
fix issue for HSL with saturation is zero
Pulled Kevin Jett's patches and patched minor bits for better jsHint results.