added cmd_generate_local_ip
added set local ip to standard commands
removed redundant library include
added cmd_generate_local_ip to command.h
fixed typo
standardized command usage for localipset
fixed malloc call
fixed calloc call
Merge pull request #57 from opentechinstitute/issue69

Tested, works fine.