Add backwards compatibility for Buffer.isEncoding

Node 0.8 and older did not support the method. Unit tests still target 0.8.*. I am not a
huge fan of messing with core library prototypes so did not do this as a true "polyfill".