Closes #1176, slug updated during save if title is updated and post is...

...not published. unit test included.