Get labels from metadata instead of a separate query if metadata exists

For issue https://github.com/neo4jrb/neo4j/issues/501