Set treebeard attributes in preview on create view. Fixes #320

See: #320

This pull request sets the depth and path attributes of a page when it is just about to be previewed but doesn't yet exist in the tree.

This is to allow the get_parent/ancestors/siblings methods to work when the page is being previewed.