Add published attribute to contents

The idea is to be able to have content on a page that can be published
at a later stage. This will prevent pages to be partially updated when
changes are made in real-time.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>