Anyone inspired to donate their home to charity should know that the tax rules are complicated.