added basic authentication using api_key url parameter for issue #4"
fixed import references to fix previous commit
Merge pull request #12 from talam/http-auth

Added in basic authentication