Support device in addition to source IP address
Use enum for source types; don't convert between index and name unnecessarily.
Bugzilla Id: 54874


git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1513863 13f79535-47bb-0310-9956-ffa450edef68