Moved the path to the photodir in a AppConstant

Also fixed a small bug in DB.removePhoto() method.
Fixed a bug in DB.getDays()

I can be really stupid sometimes :D...