coreAPI/System: gracefully handle getProperty errors
generator: reset result to empty string before getting property value. fix cases when result is not being cleared due to exception. getProperties / getAllProperties now will not set wrong results to properties