Add support for defining the post format via a shortcode

Allows the user to define the post format via a shortcode , eg. `[post-format quote]`.
If multiple formats are defined in the code, it will pick the first one.