Fix: isPrimitive to support type+precision types such as float64

typelib doesn't work with primitive types with precision such as float64.

```diff
-var isPrimitive = /^(const)?\s*?(un)?(signed)?\s*(float|int|short|double|long|long)\s*(long|double)?\s*([*]{0,2})$/,
+var isPrimitive = /^(const)?\s*?(un)?(signed)?\s*(float|int|short|double|long|long)\s*(long|double)?\s*(\d{0,2})$/,
```

Tested at http://regex101.com/#javascript