Feature/remove typedef

Remove typedef types from cpp files.
This patch is related to https://github.com/jubatus/jubatus/pull/453