Fix default values for lib generation
Only skip first line if actually generating functions
Add option to generate functions header
Ensure null/undefined are properly sent to the APIWrapper
Actually check if the passed type is writable
Use utility function
Add test that passes invalid data
Regenerate functions.h list