Changed pickle/unpickle function to work directly on string
Added --lwt option to generate lwt version of pickle/unpickle functions
Merge branch 'generate_constructors_and_modules' into for_third_party