Merge pull request #2 from iantocristian/master

fix cmd_relate, should not attempt to load parent when the card does not...
a bit of refactoring on card_remove
refactored test
test cleanup, more refactoring
remove card also removes children, closes #1