Network Scan Folder does not work [#318 responsible:none state:fixed]

Updated so that SOLA can connect to a network share using NTLM credentails.
Also enhanced the feature so that filters can be used to only display
specific documents as well as allowing files from all subfolders of the
Network Share that match the filters to be displayed.

Also updated the SharedFolderCleaner EJB to use the new file share functionality.
Improve Document Preview and Document Selection [#319 responsible:none state:fixed]

Updated image preview so that the user can resize the file selection dialog
and get a better (and clearer) image preview. Also implemented file name filtering
when using the local file selection tab to select a file.
Improve performance of Server Image Preview [#320 responsible:none state:fixed]

Updated so that server image previews are cached on the client.  To prevent
images from becoming stale, the last modified date is pre-pended to the
file name. This will ensure the thumbnail is updated if the source image is
updated.
Added exception management when when Network Scan Folder is unavailable
Enforce User Password Expiry [#326 responsible:none state:fixed milestone:v2.0]

Added password expiry functionality. The system.appuser config in the SolaRealm
of Glassfish should be changed to reference the system.active_users view. This
view implements functionality to support password expiry from the JDBCRealm.

The length of time a users password remains valid is controlled by the
pword-expiry-days system.setting. Default is 90 days. If this setting is
NULL or disabled, no password expiry is used.

Users will be warned if their password is within 14 days of expiry and
prompted to renew it. For most users, once their password expires, they
will no longer be able to login to SOLA. Users with the ManageSecurity
and/or NoPasswordExpiry role will still be able to login to SOLA once
thier password is expired. (i.e. Admin users and user accounts required
for external systems integration with SOLA web services.)

Users will also be prompted to change their password if they were not
the last person to set it (i.e. to cover situations where an Admin
resets a users password).
Lodgement Statistics Report rework [#327 responsible:none state:fixed milestone:v2.0]

Updated report using the Samoa version as the basis. Removed code related to the
original version of the report as it was no longer required.
 Security Roles require overhaul [#328 responsible:none state:fixed milestone:v2.0]

Updated description for the security roles. Fixed the SOLA application so that
it correctly applies the security roles as well as adding some new roles for
new functionality.
Resolve merge conflicts