Bugfixes and housekeeping

Fixed a bug where normal text fields would be marked as files.
Fixed a bug where an empty multipart request would result in an infinite
loop.
Moved the test service to the /src directory.