Modified syncCssClasses to use output of adapter when applying a class rather than applying the original class
Merge pull request #1819 from jrlynchii/master

Modified syncCssClasses to use output of adapter when applying classes.