Making the plugin work on Django1.3 and DjangoCMS2.2

Hello,

We upgraded a DjangoCMS instance to use the staticfiles app as well as other 1.3 goodies and found several tiny problems.

This will also require the following changes on the app running the site.

    STATICFILES_DIRS = (
        ('cmsplugin_phlog',os.path.join(PROJECT_PATH,"..",'cmsplugin-phlog/cmsplugin_phlog/media')),
    )
    CMS_MEDIA_URL = '/static/cms'

This is a temporal solution and the best way to go forward is to fully migrate this plugin to the DjangoCMS2.2 architecture of using sekizai and moving things from media to static. But this is a start.