Fix for #99 -- export import no longer a false positive for unused rule

Also cleaned up/fixed the no unused variable rule and tests a bit.