updates api with initialize to look for API key in home or environment; adds start of doctest; minor cleanup
updates api with initialize to look for API key in home or environment; adds start of doctest; minor cleanup

unbracketed/pymetro