Implement get/set_int methods in CLI.

It may be worth merging get/set's into just two methods, performing
a switch on type, which we pass from main(). This will save a lot
of redundant code.

Signed-off-by: Michael Ikey Doherty <michael.i.doherty@intel.com>