Added get_privileges and deploy_keys to repositories

I have added a way to get the user privileges, as well as added the ability to manage deploy keys for repositories. 

Please look it over, and let me know if you want me to change anything.