Fix statistics output truncation in Kanastats

Output for kana statistics will now retry if > max msg length.
Add logging and word counter in Kanastats

Logging in data directory, uses public messages only.
To be used for word counter command :wordstats.
Read /proc/meminfo directly in Memory