delete post with pivot links, and delete category if not in use

Signed-off-by: Alexander Skjolden <alex@plastboks.net>