GAS cleanup changes

prevent SOQL injection attacks
improve standardization and readability
add alignment history object to track Account changes