Added to more fields to photo model: css_class and preview_type
Added config options for url, css_class and preview_type
Added preview_link method to photo model. Will either use the provided ext_type or the preview_type in the database. If there is an exception this will be catched and the version :error_wrong_preview_version will be delivered.