Stick to ruby coding conventions

Indentation/Tabbing inserts 2 spaces.
Indentation was somewhat mixed up (4 spaces/Tabulator in the same
function). To prevent this in the future I also added a vim modeline.