Arrange Cycles nodes

I slightly modified the code for arranging Cycles nodes. 
It would be easier when modifying shaders in node editor.
![capture](https://cloud.githubusercontent.com/assets/10059294/5281216/2db2713c-7b3e-11e4-91be-655bb3f4ac0a.PNG)