Refactor log specs to not rely on a temp file
Refactor log specs to not rely on a temp file

Use a StringIO to receive log output simulating a file, and read the log
string out of it to test against. This way we can leave the logging all
in memory, avoiding having to manage / cleanup the temp log file.

adamlogic/rails_autoscale_agent,adamlogic/rails_autoscale_agent,adamlogic/rails_autoscale_agent