throw error if att_name is missing in destroy call

As the att_name is used in constructing the url to send the DELETE call
to, using something like false or an empty string results in deleting
the whole document. This should not happen…
Merge pull request #153 from alappe/att_name_missing

throw error if att_name is missing in destroy call