test: add hasFipsCrypto to test/common.js
test: add hasFipsCrypto to test/common.js

Utility function for tests to check if OpenSSL is using
a FIPS verified cryptographic provider.

PR-URL: https://github.com/nodejs/node/pull/3756
Reviewed-By: Fedor Indutny <2e687df1861dff46b1954016c7b2cad32e8742d4@gmail.com>
Reviewed-By: Shigeki Ohtsu <92fb37b64464f5ee20f58e183b0504024ecd6585@iij.ad.jp>
Reviewed-By: James M Snell <2d64a127ffc94dbe6295928a16bedf8b26814159@gmail.com>

dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node