Updated students app.
Fixed methods to be closer to PEP8, Django and Python conventions.
Also started to add tests for TempCertificate and generate_certificate