Added Content Type when inserting pictures.
Refactoring of Test.
Added PhotoDAO and PhotoModel.
Added Photo tests.