Fixed  missing thCode to use  ensureFtype(thCode, model.ftype).
Merge branch 'development' of https://github.com/genn-team/genn into development