Ignore .o and .swp files
Show qemu window when running tests

The test fails with timeout when not having the -v option since qemu hangs
after the test finishes, saying "Powering off..." Tests can successfully
finish after quitting the qemu window.
Fix error regarding parsing command line options

This error is caused by not checking the undefined $source variable and
incorrect value 'file' (has to be all uppercase).
Fix permissions of pintos scripts to make them executable
Fix error regarding printf formats on x86_64 systems

It is unconfirmed whether this error is because of the architecture or Gentoo
Linux OS.
Implement semaphore instead of busy_wait
Add instructions on patching the script