some style changes
fixed some indentation
added edit links for particular objects on each page, with the exception of flatpages