Changed references auth -> fileserver.
Moved Measurement from analysis into its own module.
Removed unused imports.
Use autospec for mocks.
Added test case for FileServerConnection.append.