added to_h method for #04

calls all methods in class and returns hash
Merge branch 'dev' of github.com:Getkura/ann_wrapper into dev