Change target version to 0.8
Standardize more on $postid instead of $id
Rework defined vars a bit for clarity and safety
Fix a potential bug in `-blog-getPostHeader`
Generate permalinks