Core: FacilityManager.bl.addHosts edited.

Method addHost take host names and if there is a pattern made of square
brackets (e.g. "name[00-12]domain") it generates new host names and
hosts. The logic is written in the class impl.Utils.
Do not set new login from application form when user found while approving.

 - case: user joined identities after sending application
 - notifications: if user known, get login from attribute instead of application (if attribute not empty)
Registrar: do not create application when password reservation fails.
 - GUI: fixed text in exception message
Registrar: notifications to VO admins are now by default 'en'.
 - Optionally based on attribute value for VO/Group.
 - Return RegistrarException to show raw message in GUI when approving application
Registrar: fixed transactions above createApplication()

 - method createApplication() separated in two methods
 - createApplication() is no longer transactional and does verification and approval only if creation succeed
 - createApplicationInternall() is transactional and do not verify and approve application
 - throw RegistrarException from createApplicationInternnal() + rollback on ApplicationNotCreatedException
 - add new notification type APP_ERROR_VO_ADMIN
   (used when automatic approval fails to notify vo/group administrators)
 - moved code for sending verification mail to ensure correct order of recieved
mails
 - GUI - added new app mail type
Registrar: fixed login check/reservation

 - fixed case, when user and his logins were new, but considered as already in use and unreserved from KDC

Correct logical order when approving any application is now
 - set all non-login attributes
 - create member / add to group
 - unreserve new login, if user already have login in same namespace
 - set login attributes, which are purely new
Registrar - fixed typo in method name createApplicationInternal()
Switch auditer messages debug logging to trace level.
RPC: added copy methods to facilities manager
GUI+REGISTRAR: fixed vo-group application usecase

 - fixed missing params when redirect
 - fixed proper params read from URL
 - redirect existing when outside extension period
 - redirect new if duplicate registration attempt
 - fixed case, when user is not yet member of VO and have group application submitted
 - fixed case, when user is member of vo and want apply to group (in extension period)
GUI: simplified URL reading on application form

Use simple reading from URL params, since URL must be the one
properly formatted on each level of redirection

1.level use:       ?       & (base url and it's params)
2.level use:     %3F     %26 (used inside 1. level redirect param)
3.level use:   %253F   %2526 ...
4.level use: %25253F %252526 ...
RPC: fixed copy methods in facilities manager

 - allow only POST on copy functions
 - require only facility ID params to copy
Core: fixed copy attributes on facility

Remove all virtual attributes taken from source facility,
since they can't be set to destination facility.
GUI: testing version of create facility wizard

 - create empty facility or copy existing
 - custom button can have icon on right
 - custom message on empty result in tables
 - added few custom table texts
 - added calls to copy managers, owners and attributes
 - facility admin can now create / delete facility
GUI - added possibility to change facility name

Added code/tab for changing name of facility. It's not yet accessible
to anybody since updateFacility() doesn't exists in core.
When will be implemented, simply uncomment code in FacilityDetailTabItem.java
Core: fixed typos in SQL

 - fixed getting all resources by specific tag
 - fixed getting all tags by specific resource
Registrar: fixed null pointer eception in checkForSimilarUsers()
GUI: fixed regex for email on application form

 - updated regex for checking value in VALIDATED_EMAIL form item
 - disabled setting custom regex for VALIDATE_EMAIL form item
GUI: fixed reporting to RT

 - do not cycle to error report message when reporting in RT is down