python-enc: Snappy support

Support added for Snappy and Snappy Incremental compression.

  encode(p, snappy=True)
  encode(p, snappy_incr=True)

If both options snappy,snappy_incr are set then snappy_incr is used.