Add support for unary operators (not, ~)

Signed-off-by: Julien Danjou <julien@danjou.info>