Return computed url with post object

closes #4445

- post model gets permalink format
- post model queries urlPathForPost to return computed url
- url helper modified to use post url
- urlForPost method abolished and replaced where necessary
- updated tests
Merge pull request #4529 from cobbspur/permalink

Return computed url with post object