Fixed running tests on Windows

Tests specified by an absolute path on the command line and tests that
reference relative resources now work on Windows. Also fixed the path
resolution of tests to work correctly when using the prefix and server
options.
Added missing semicolons
Fixed relative path tests to work on *nix
Fixed typo
Merge pull request #20 from slieschke/master

Fixed running tests on Windows