Make everything accept lists as input.
Merge pull request #3430 from amueller/test_list_input

[MRG] Test list input