Consistent indentation

I just converted all tabs I could find to spaces to make the formatting consistent with the usual convention for ruby code. Makes it more readable.