Introducing Spring Security for authentication and authorisation implementation.

Issue: BMS-58, BMS-59
Configuration of BreedingManager application context for spring security with pre-authentication based on Workbench username token.
Some indent formatting in web.xml.

Issue: BMS-58, BMS-59
Updating spring-security version to the latest available in 3.1 series.
Adding the new UserRole entity to the Hibernate config.

Issue: BMS-62
Reviewer: RebeccaB
Re-authenticate in downstream applications when different user logs into Workbench. Do not invalidate the session however (temp - might need to revisit) as the Vaadin application will close.

Issue: BMS-33, BMS-61
Reviewer : RebeccaB
Spike: One approach to authorisation using method level annotations and AccessDeniedException (to be reviewed) - for restricting the Germplasm import function to ADMIN only scenario.

Issue: BMS-64
Reviewer: RebeccaB
Merge: Syncing branch BMS-33-authentication-authorisation with master.
Configured Workbench authenticator. Useful for development where BreedingManager may be launched outside workbench via straight URL. Currently inbuilt spring security login page will be presented for such case. In standard case, the pre authentication filter should always let the user in if user is authenticated in Workbench already.

Issue: BMS-69
Reviewer: RebeccaB
Authorisation rule for restricting Germplasm import screen - when accessed via Workbench sidebar url - to ADMIN and BREEDER users only.

Issue: BMS-64
Reviewer: RebeccaB
Explicitly configure dependencies of WorkbenchUserDetailsService instead of relying on lead-time weaving or class path scanning.
Sync: Merge branch 'master' into 'BMS-33-authentication-authorisation'.
Restrict access to Germplasm Import when accessed via the germplasm-import-popup URL as well (this is what Nursery and Trial manager screens use).

Issue: BMS-64
Reviewer: RebeccaB
Allow all /VAADIN/ requests, no authentication filtering needed.
Cleanup : remove unused / commented out entries
Changed reference from ibpworkbench hibernate config to the one in MW to reduce redundancy

BMS-69

Reviewer : Cyrus Venn Casada
Cleanup : remove duplicate parameter entry

BMS-69

Reviewer : Cyrus Venn Casada
Provided ant task for copying compilation results to bms webapp directory

BMS-69

Reviewer : Cyrus Venn Casada
Sync: Merged branch 'master' into 'BMS-33-authentication-authorisation'.
Updating spring security to 3.2.x latest.

Issue: BMS-116
Reverting the restriction on Germplasm import. Requirements not confirmed yet.

Issue: BMS-64
Merging the branch 'BMS-33-authentication-authorisation' into 'master' so that further development/testing work can be done as part of mainstream.

Issue: BMS-33
Reviewer : RebeccaB