added getinputs method, now stores number of inputs in devicetable
Merge branch 'master' of github.com:JamesGlanville/GF2