Several changes in preparation for packaging

One commit ensures the file is closed after opening it, the other commit ensures README.rst is properly included when packaging the code. This is related to issue https://github.com/theospears/django-speedbar/issues/5.