calculating CPU and memory used by adding up lines in top
added comment explaining why we skip certain lines in top output
Merge pull request #828 from shatterednirvana/calculate-cpu-usage-correctly

calculating CPU and memory used by adding up lines in top