[e] (0) Move the presence checking into the IDL
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17087
Affected topics: DOM APIs

git-svn-id: http://svn.whatwg.org/webapps@7767 340c8d12-0b0e-0410-8428-c7bf67bfef74