Fix for support customer using old OutageModel class in a modified JSP.  Improves
SQL for several of the queries.
NMS-6163 (http://issues.opennms.org/browse/NMS-6163)