Issue 401: fix ToParityEnum

The parity param is not well cast in ToParityEnum method (Issue 401).

This link describe the right usage of NanUtf8String : https://github.com/rvagg/nan#api_nan_utf8_string