Remove direct calls to dbapi's get_node_by_instance

Small patch to patch remove the direct calls to dbapi's
get_node_by_instance. It's replaced by Node.get_by_instance_uuid().

Partial-Bug: #1314732
Change-Id: Idfcab25edbc950ce8093b4e0987be5a885828530