Bindings for ERR_get_error and ERR_peek_last_error that return the raw errors as a tuple
Replaces the function used for exceptions with last_error so it doesn't pop the error queue inadvertently
For compatibility I have reproduced the behavior of the function used to print exceptions with the ERR_error_string_n but with the functionality of the ERR_peek_last_error function (peeks the last error)
This PR should solve #108
For compatibility I have reproduced the behavior of the function used to print exceptions with the ERR_error_string_n but with the functionality of the ERR_peek_last_error function (peeks the last error)