Merge "Move create_keypair to api.base module and add creation params."