(WIP) Implement clear for clustering (#579)

This pull-request implements https://github.com/jubatus/jubatus/issues/579.