Added mime word encoding/decoding related functions and tests