Merge remote-tracking branch 'upstream/master' into merge-changes-from-usm-rcg
Added commit 57a1d4b232041441dc44b2faf46508f929895d57 of USM-RCG repo
Added portrait orientation layout for OpeningActivity
XML resources rename with naming_convention
Implemented USM-RCG commit 4c42f7705060b9538137d3cadcf5a4bcb3b242fc
Added USM-RCG commit 435088d16bec9562ce91b7a11b0e012bbff4e821
Added USM-RCG commit e78c62ec6fda273819f1d4704de13eebfc6e72f1
Implement collapse and expand of LoginPreferenceFragment

Conflicts:
	src/main/java/org/openhds/mobile/activity/DebuggingOpeningActivity.java
	src/main/java/org/openhds/mobile/activity/OpeningActivity.java
Add preemptive Basic Auth for HTTP tasks.

Conflicts:
	res/values/strings.xml
Unauthenticated supervisors deleted from tablet database.

Conflicts:
	src/main/java/org/openhds/mobile/fragment/SupervisorLoginFragment.java
Refactor OpeningActivity to use framework better.

Got Fragment animations, preference dialog saved instance state, and much less code.

Conflicts:
	res/layout/generic_login_fragment.xml
	res/values/strings.xml
Refactor to remove AuthenticateTask.

HttpTask doesn't need to be abstract.

Conflicts:
	src/main/java/org/openhds/mobile/activity/SupervisorLoginActivity.java
Supervisor login with credentials cached on tablet.

Conflicts:
	res/values/strings.xml
Rebuilt supervisorMainActivity to be more dynamic
and expandable.

Conflicts:
	res/layout/supervisor_main.xml
	src/main/java/org/openhds/mobile/activity/SupervisorMainActivity.java
	src/main/java/org/openhds/mobile/fragment/LoginPreferenceFragment.java
Refactor AbstractActivity into static utils.

Conflicts:
	src/main/java/org/openhds/mobile/activity/AbstractActivity.java
	src/main/java/org/openhds/mobile/activity/FormViewActivity.java
Refactor SyncDatabaseActivity to SyncDatabaseHelper POJO.

Conflicts:
	src/main/java/org/openhds/mobile/activity/SyncDatabaseActivity.java
Move username and password keys to OpeningActivity.

Conflicts:
	res/values/strings.xml
	src/main/java/org/openhds/mobile/activity/OpeningActivity.java
	src/main/java/org/openhds/mobile/task/FieldWorkerLoginTask.java
Delete unused layout XML.

Conflicts:
	res/layout/fieldworker_login.xml
	src/main/java/org/openhds/mobile/activity/FieldWorkerLoginActivity.java
New static utility classes.

Conflicts:
	src/main/java/org/openhds/mobile/fragment/LoginPreferenceFragment.java
Refactored SyncDatabaseHelper for reuse with different tasks.

Conflicts:
	src/main/java/org/openhds/mobile/utilities/SyncDatabaseHelper.java