make it 1.9/2.0 compatible

probably should refactor + gemify too
fix health/status command
be 1.8, 1.9, 2.0, 2.1 compatible

1.8 String#lines returns enumerable
>=1.9 Sting#lines returns array

We need 'string'.lines.to_a to make sure everyone gets array
Merge pull request #61 from ytti/master

make it 1.9/2.0 compatible