Added promote / demote functionality, instead of only promote from draft to post

This pull-request is more to get to know the code then anything else, but it is a real feature. 

With this patch it is now possible to promote / demote a post, to and from posts and drafts (in case you really cannot make up your mind).