docker bugfixes: trim whitespace around list param elements, handle list params being coerced to int or long type
docker: use  type instead of manually casting strings to lists
Allow type=list module arguments to accept integers and floats.