Ignore VIM swapfiles

Vim swapfiles should be ignored by Git, so that they don't get commited
by mistake.
Change code style
Write initial tests

The application will use Test::Unit as a testing framework. Initial
tests concern the Questions controller.