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.
If `credentials.merge` is updated (and possibly replaced with `credentials.add`...) to not return a promise, this function just needs to `return credentials.save()` at the end - no other promise stuff is needed