Make some refactoring in Gallery app

- Reorder methods to follow PEP8 and Django guidelines
- Remove get_dir and get_thumb_dir methods. Direclty generate path in Picture model
- Now is possible to overwrite upload_to and upload_thumb_to
Rename get_thumbnail to get_thumbnail_url