Fixes #3874 : Correct API Nodes : pending nodes details and change status

http://www.rudder-project.org/redmine/issues/3874

We need to correct two things here in Nodes API : 

- Add pending node details

- Improve change status of pending nodes (JSON support, id as URL parameters)