Node To Code

Changes :
---

1. Created a ConvertNodesToCode command for the command framework (hence now testable)

2. Fixed N2C Undo and Redo

3. Added test cases for  :
     a. N2C
     b. N2C with Undo
     c. N2C with undo and redo