Added detail view and changed list template

Simple modifications on scaffold.py, just to avoid 404 on object details page.