add() should be work both lof and light_lof.

originnaly [jubatus#issue-656](https://github.com/jubatus/jubatus/issues/656)

[pull-requested](https://github.com/jubatus/jubatus/issues/656) by @hido 

I apply it to follow `jubatus_core` migration.