implement lib routines module_count and module_info
results are returned by cryptodev stub.
added extern for device fd in all of the lib files