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
I thought `@nosideeffects` was only allowed in externs, so this check is redundant?