#439: Add unit test to verify downloading a file authenticated as UserB using a signature generated for UserA fails
#338: Added unit tests for downloading principal pictures and verifying the multiple permutations that parameters can be passed in.
Merge branch 'master' into issue-439

* master: (42 commits)
  Changing grouping for adding members
  Fixed config file
  Minor doc fixes
  #502 - PR followup
  # 502 - Changed the actor and target for group-add-members
  Minor docs fixes
  #502 - Add tenant information to each activity entity
  README fix
  Updating README
  #404 - Resolving path to clean as we cannot output a path with a double slash.
  #500 - Not creating an activity if no text has been editted on publish.
  #500 - Passing the user's language on to Etherpad
  #500 - Fleshes out the Etherpad section in the README
  Minor test clean-up
  code review issues, actually test search, and fix the search
  add test for mime type property
  only add _extra.mime on 'file's
  add mimeType to content searches
  #472 Cleaned up image scaling in the preview processor a bit.
  Change etherpad port to 80
  ...
test changePassword as someone who isn't admin or the user for whom the password is being changed
test that external auth redirects to appropriate host
test admin invalid password change
test associateLoginId with user that doesn't exist
test changing password on an user with no local auth strategy
test validation in getUserIdFromLoginId
remove unneccesary check
move associate with non-user test to it's own block

and use a fake userid to pass through validation
make redirect test work offline
cache strategy status before enabling and reset after testing
enable/disable strategies on global so we don't override defaults
Merge master in issue-338 (profile pic test coverage).
Merged master in issue-338 (bump in testcoverage for picture cropping).
Renamed 'testUserId' to 'usernameA' in authentication tests (change pw)
Merge branch 'authn-test'

* authn-test:
  Renamed 'testUserId' to 'usernameA' in authentication tests (change pw)
  enable/disable strategies on global so we don't override defaults
  cache strategy status before enabling and reset after testing
  make redirect test work offline
  move associate with non-user test to it's own block
  remove unneccesary check
  test validation in getUserIdFromLoginId
  test changing password on an user with no local auth strategy
  test associateLoginId with user that doesn't exist
  test admin invalid password change
  test that external auth redirects to appropriate host
  test changePassword as someone who isn't admin or the user for whom the password is being changed
Logging error in docs api when a file could not be read.
498 - Added sendmail support