Fix registerShutdownEvent to ensure proper ordering based on priority
Fix registerShutdownEvent to ensure proper ordering based on priority

Change-Id: Icccce401eb9f6dce9698003e5743fcab4adf3d35
RTC: 88901
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/6963
Tested-by: Jenkins Server
Reviewed-by: MIKE J. JONES <3bfb5759ff83ad3ac713f701b283073623a8cdd2@us.ibm.com>
Reviewed-by: Brian H. Horton <4d3586b959590a6e034649b5cc7435fb7d9ba30c@linux.ibm.com>
Reviewed-by: A. Patrick Williams III <c87e37b1a4035affd737b461af89fb722d635f4d@us.ibm.com>

csmart/hostboot,Over-enthusiastic/hostboot,csmart/hostboot,csmart/hostboot,open-power/hostboot,csmart/hostboot,open-power/hostboot,Over-enthusiastic/hostboot,Over-enthusiastic/hostboot,alvintpwang/hostboot,alvintpwang/hostboot,csmart/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot,alvintpwang/hostboot,Over-enthusiastic/hostboot,alvintpwang/hostboot,alvintpwang/hostboot,Over-enthusiastic/hostboot