small changes: fixed some typos, changes the Credential type to credential_type so as not to clash in namespace with Python. Quick check on slugs, unicodes and classes. Will need to adjust the slugs tomorrow