Added proper things to manage.py and requirements.txt to make sure MySQL backend works and fixed tests