compress option

I merged https://github.com/DeNA/mobilize-hive/pull/4, fixed bug and added test case.