config: validate that module variables can go to ints, convert [GH-624]
Merge pull request #679 from hashicorp/b-fix-module=type

config: validate that module variables can go to ints, convert [GH-624]