Includes before/after state in command #toString() methods

where applicable, namely nodes and properties
Merge pull request #2161 from tinwelint/2.0-before-after-command-tostring

Includes before/after state in command #toString() methods
Merge 2.0-maint into 2.1