Split ugdk_input in multiple swig modules to work around swig's enum class limitation.

Fixes #37.