Merge pull request #25 from kmussel/master

make sure vertex type same one requested
Fix up vertex instance for has_one
Aaand, remove that commit
added check for relationship direction