Make `ref_counted` compatible to boost-style ptrs
`optional_variant<...>` => `variant<none_t, ...>`

This patch removes the weird `optional_variant` class from libcppa in favor of
a more general `variant` implementation that simply uses a `none_t` to indicate
a non-existing value.