Use new imports for url and patterns functions

When migrate to django 1.5 I forgot to migrate my urls.py for blog, gallery and links applications