Use FedoraResource#getContainer/getChildren when serializating resources

Also, update getContainer + getChildren to be pairtree aware.