Don't return an address for invalid pubkeys

See: https://github.com/coinbase/toshi/issues/76
Thanks for the review. I think it's appropriate to show any addresses that can be derived from valid pubkeys in the script.