UP-3704 : Added null check to a loop when collecting grouping
information.
Merge pull request #126 from timlevett/UP-3704

UP-3704 : Added null check to a loop when collecting grouping
UP-3701 : Fixed logging issues for startup listener classes so that the logger doesn't get initialized before the webapprootkey is initialized causing logging to fail.
UP-3705 : Edit the report graph jsp so that the graph doesn't load
until you click the submit button.
EMAILPLT-133 Bundle new version of email preview
UP-3706:  Database connection settings for the Attachments portlet are hard-coded
Merge remote-tracking branch 'upstream/rel-4-0-patches' into rel-4-0-patches
UP-3706 Fix mvn db-init
Extend the guest user properties with requestAttributes like it's done with logged users, so could be usefull to serve a dlm with request attributes
Add fonctionnality to define a profile per different guest DLM definition based on request attributes, it's usefull to avoid the cache on the user guest fragment and to load the DLM mapped to request attributes merged in guest user's attributes
Solve issue with one import
NOJIRA include attachments portlet in all-lo layout
Don't make the search on principal user until 3 chars are entered, and define a timeout on ajax search
UP-3725:  Portlet Manager -- preferences from portlet.xml (defaults) are not appearing in the setParameters.jsp screen
Merge remote-tracking branch 'upstream/rel-4-0-patches' into rel-4-0-patches
UP-3735 Add error handling for event aggregation

Add error handling to the conversion of a PersistentPortalEvent to PortalEvent
so that mal-formed JSON won't break the entire aggregation process.
WIDGPT-31 jasig-widget-portlet to use sl4j/logback
UP-3737 Allow local accounts to edit their password
NOJIRA:  Tidy up some whitespace (was a tangled mixture of spaces and tabs) in an area before making changes to it
UP-3551:  Header portlets within the hidden=false header folder are not expanded in maximized mode