Rewrite credentials API to work with save on deploy.

Hi,

This is my pull request for the "save on deploy" part of #93.
The credentials are now fetched automatically when editing a node (as before) and only send when the user click the deploy button (with the flow).

I use a new property of the node : node._creds to store all the value needed. When the flow has been successfully send and save, the credentials information are removed from the node.

The Credentials are send into the node. There is no division between the flow and the credentials. The credentials are filtered before saving the flow.
This changes the order that things are done. Currently, if there's an issue saving the new flows, the old flows keep running. Changing this behaviour needs to be thought about carefully.