[HBASE-8155] Allow Record Compression for HLogs

Author: nspiegelberg

Summary:
Hadoop already allows for native compression support with
SequenceFile. We should allow the user to enable this functionality
through the config. Besides backwards compatibility & existing
stabilized code, allowing users to enable record-level WAL support will
allow support value compression.
Preliminary results show 3x compression on LZO with minimal throughput
savings. This got more attention recently because it subsequently
facilitates longer log retention for backup & replication purposes.

Test Plan: - mvn test -Dtest=HLog

Reviewers: aaiyer, liyintang, pritam, amirshim

Reviewed By: aaiyer

CC: hbase-eng@

Differential Revision: https://phabricator.fb.com/D745149

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1465082 13f79535-47bb-0310-9956-ffa450edef68