Added support for preserving FacesMessage instances when navigating from one page to another.
Code taken from: http://stackoverflow.com/questions/7503113/preserving-jsf-messages-after-a-redirect.