Change the SERVICE_ENDPOINT env variable to BARBICAN_ENDPOINT

Add mock functions to kwargs in the Connection class
Move keep script into barbicanclient module.