Fix modules build

I've applied a small fix to latest Commcare changes. The modules
wouldn't get serialized if the application object was created using
the constructor.

Hub ITs had to be updated after the fix for required in the @Field
annotation.

Change-Id: I9ff2f38d32c14157a3d671d5363c2647b9d29a89