Add support to php native DateTime

Add support to automatically convert DateTime objects to string in constructor and setters. Convert string to DateTime in getters.
Fix to generate getters/setters also for non nullable members