[ALOY-1043] script to create _generated code, added docs

https://jira.appcelerator.org/browse/ALOY-1043