Add a check for extern methods marked with @nosideeffects

Add a check for extern methods marked with @nosideeffects to ensure the results are used. If not, protect the call and issue a warning.

Fixes google/closure-compiler#237
So I read this as it should remain as-is.