add media_type table to database structure and rename photo to media
rename Photo to Media
add required field media_type to media table
deprecated Seq.first method
fix previous and next page css
add app.media.format.allowed key to application.conf and implements test
add video new media format in admin and user side