Converting non-string types to their approriate type when getting task data from Redis

@ckrough @fearphage @hiwaylon @joshmarshall Can one of you look at this?

It fixes: https://www.pivotaltracker.com/story/show/60987712

The problem was we were passing a string value to os.kill, when it wants an int.