TRUNK-4389 Fixed tests and formatting

(cherry picked from commit 108d2bfd4d619ed861a36709bb2775763ed6b9ab)

Conflicts:
	api/src/main/java/org/openmrs/module/Module.java
	api/src/main/java/org/openmrs/util/DoubleRange.java

(cherry picked from commit 460d4b75112f82888c919c1d9c67c4ecfe59e54c)