Minor fixes in blocks
- LED block fix - correct values for on/off state
- FUNC Key block fix - block return 1 when key pressed
- DIO Set - initial value fix and terminate function added which allows to set terminate value of DIO when model is terminated
- Encoder block - previously called QEP - changed more general name 'Encoder', Reset input added, Dir output added
Merge branch 'master' of https://github.com/kyak/microdaq_ert

Pull from microdaq_ert