added "edit" template tag
added context processor for settings module
added middleware for database performance(request time and sql queries amount)