Increment 0.0.3.9.pre -> 0.0.4.0.pre

Updates include
  Fixing bugs found in signature acquisition for uploads (which have additional required parameters)
  Various refactorings for legibility