adding gemspec and fixes to Rakefile among others

Signed-off-by: Mike Whitmarsh <mike.whitmarsh@hp.com>