Complete Slug Based links

todo:Error to user or conflict slug
change url_for function in templates
Use id/slug as post url

add macro template for post url
add page not found
add model constructor
add post view
Add Home Link in base template,Make /id/ redirect to /id/slug