unregister_driver_type contains a possible bug... in_array not properly utilized

i might be wrong, but it appears that the in_array is missing the "type" argument and that the options defined are not an "array" this also affects version 1.6
Merge pull request #70 from Destreyf/patch-1

unregister_driver_type possible bug in_array not properly initialized