Added missing instance variables.
Added TypeHinting for Controller constructor.
The assembling of the JsonResponse is not the buisness of the actual upload* methods.
Added missing methods to ChunkManager.
Added missing methods to OrphanageInterface.
Added missing instance variables and TypeHinting for constructor variables.