RA-1704: Improved Program Status widget state sorting.
* RA-1704 : improved programstatus state sort order - updating angular to 1.6.1 to get $httpBackend.flush() fix, changes to use a proper promise chain for test
* updating shrinkwrap to angular 1.6.1, updating GET mock
* changing use of result var to immediate returns per code style preferences
* reversing order of null check for endDate, provides short circuit and avoids ambiguous coercion/eval
* removing quiet flag from `mvn clean install` to debug travis build
* fixing comparison of two states with null end dates (from different workflows in the same program), adding logic for angular fallback orderby index, re-order expected order test states
* re-enabling mvn quiet mode to minimize build messages
* fixing typo in both enddates not null logic and reciprocal case for state1 endDate == null
* RA-1719: Program, Program Status and Relationship widgets not properly retrieving session use (#300)
* RA-1704 : improved programstatus state sort order - updating angular to 1.6.1 to get $httpBackend.flush() fix, changes to use a proper promise chain for test
* updating shrinkwrap to angular 1.6.1, updating GET mock
* changing use of result var to immediate returns per code style preferences
* reversing order of null check for endDate, provides short circuit and avoids ambiguous coercion/eval
* removing quiet flag from `mvn clean install` to debug travis build
* fixing comparison of two states with null end dates (from different workflows in the same program), adding logic for angular fallback orderby index, re-order expected order test states
* re-enabling mvn quiet mode to minimize build messages
* fixing typo in both enddates not null logic and reciprocal case for state1 endDate == null
* changing sort order back to repeated `else if` logic with new check for not both null and ordering when state1 endDate is null, new order of states in test
* RA-1704 : improved programstatus state sort order - updating angular to 1.6.1 to get $httpBackend.flush() fix, changes to use a proper promise chain for test
* updating shrinkwrap to angular 1.6.1, updating GET mock
* changing use of result var to immediate returns per code style preferences
* reversing order of null check for endDate, provides short circuit and avoids ambiguous coercion/eval
* removing quiet flag from `mvn clean install` to debug travis build
* fixing comparison of two states with null end dates (from different workflows in the same program), adding logic for angular fallback orderby index, re-order expected order test states
* re-enabling mvn quiet mode to minimize build messages
* fixing typo in both enddates not null logic and reciprocal case for state1 endDate == null
* changing sort order back to repeated `else if` logic with new check for not both null and ordering when state1 endDate is null, new order of states in test
* removing quiet flag from `mvn clean install` to debug travis build
* re-enabling mvn quiet mode to minimize build messages
* RA-1724: Fix NPE/undefined error in obsgraph dashboard widget.
* RA-1724 : Fix NPE/undefined error in obsgraph dashboard widget when some concept do not have associated obs