fix logmessage package casing, refactor hidden for loop in goroutine dump function

Signed-off-by: Nick Wade <nwade@pivotallabs.com>